From OpenVMS DCL Dictionary:

The Ctrl/T function displays a single line of statistical information about the current process. When you press Ctrl/T during an interactive terminal session, it momentarily interrupts the current command, command procedure, or image to display statistics. The statistical information includes the node and user names, the current time, the current process, CPU usage, number of page faults, level of I/O activity, and memory usage. For example:

BOSTON::SMITH  16:21:04 EDT       CPU=00:00:03.33 PF=778 IO=296 MEM=277

What is Linux for OpenVMS DCL Ctrl/T?


I sincerely doubt there's an exact analog. The nature of a Linux process (and consequently of running a command) is so different than the nature of a VMS process and how it runs a command that nothing like this can really exist.

As I understand VMS, when you run a command like TYPE SOMEFILE.TXT, DCL reads the TYPE.EXE into the memory of the same process that DCL runs in, fixes up all the relocations that TYPE.EXE needs, and then jumps to the first instruction of TYPE.EXE. When TYPE.EXE has done its work, the OS returns control to the DCL code that still resides in the same process as TYPE.EXE.

That heavyweight process, which includes DCL, a table of lexicals, and a well-known jump table of addresses of various things, allows Ctrl-T to work. That key sequence is just a special form of keyboard interrupt, and the DCL code in any given process can do the work you describe.

A linux process doesn't always have a shell (DCL analog) in it. A linux process may not even have keyboard interrupt handler code registered with the kernel, which would mean that any keyboard interrupt (Ctrl-C or Ctrl-) gets the kernel to cause the process to exit.


BSD UNIX family support SIGINFO signal [1] and VSTATUS control character [2], normally bound to Ctrl/T. The output looks like this:

load: 0.12  cmd: cat 13579 [ttyraw] 0.00u 0.00s 0% 880k

[1] signal(7) [2] stty(1)


On Linux, dd supports SIGUSR1 for status: http://man7.org/linux/man-pages/man1/dd.1.html

  Sending a USR1 signal to a running 'dd' process makes it print I/O
  statistics to standard error and then resume copying.

On BSD, dd support SIGINFO for status: https://www.freebsd.org/cgi/man.cgi?query=dd&sektion=1

If dd receives a SIGINFO (see the status argument for stty(1)) signal, the current input and output block counts will be written to the standard error output in the same format as the standard completion message. If dd receives a SIGINT signal, the current input and output block counts will be written to the standard error output in the same format as the standard completion message and dd will exit.

BTW: The VMS BACKUP program has a nice output for Control-T.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.