output

iostat

The iostat command is for getting the CPU and input-output devices' statistics for Linux and Unix systems. For example, $ iostat Linux 3.0.0-14-generic (hostname) Wednesday 06 June 2012 _i686_ (2 CPU) avg-cpu: %user %nice %system %iowait %steal %idle 17.38 0.13 3.13 1.63 0.00 77.74 Device: tps kB_read/s kB_wrtn/s kB_read kB_wrtn sda 11.78 111.65 69.79 11663838 …

iostat Read More »

Formatting the man command output for printing

1. Limiting the width of Linux man command output Quite often, we need to print the output of the Linux man command. One way is to redirect the man command output to a file, open the file in LibreOffice Writer and export to PDF. The PDF can, later, be printed. However, by default, the man …

Formatting the man command output for printing Read More »