Perl Formater for Terminal and HTML

If you want to bring your “ps” or another tabel in a good format you could use this skript:

Here we have a good terminal format:

This is the raw HTML output:

And in the browser it looks pretty like this :

USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 782116 56436 ? Ssl 14:22 0:03 –NONE–
root 7 0.0 0.0 11728 1348 pts/0 Ss 14:22 0:00 sh
root 61 0.0 0.0 19740 1212 pts/0 R+ 15:44 0:00 ps

Leave a Reply

Your email address will not be published.

16 + two =