Skip to content

Add support for 'ps -ef'#123

Open
g0tmi1k wants to merge 1 commit intodesaster:masterfrom
g0tmi1k:ps
Open

Add support for 'ps -ef'#123
g0tmi1k wants to merge 1 commit intodesaster:masterfrom
g0tmi1k:ps

Conversation

@g0tmi1k
Copy link
Contributor

@g0tmi1k g0tmi1k commented Jun 3, 2014

Its not perfect
...Hoping its 'enough' to trick the average user

Before

root@nas3:~# ps -ef
 PID TTY         TIME COMMAND
5673 pts/0       0:00 -bash
5679 pts/0       0:00 ps -ef
root@nas3:~# 

After

root@nas3:~# ps -ef
UID        PID PPID C  START  TTY         TIME COMMAND
root         1    0 0  May20  ?           0:09 init [2]  
root         2    0 0  May20  ?           0:00 [kthreadd]
root         3    2 0  May20  ?           0:00 [ksoftirqd/0]
root         5    2 0  May20  ?           0:00 [kworker/u:0]
root         6    2 0  May20  ?           0:00 [migration/0]
root         7    2 0  May20  ?           0:00 [watchdog/0]
root         8    2 0  May20  ?           0:00 [migration/1]
root         9    2 0  May20  ?           0:00 [kworker/1:0]
root        10    2 0  May20  ?           0:00 [ksoftirqd/1]
root        12    2 0  May20  ?           0:00 [watchdog/0]
root        13    2 0  May20  ?           0:00 [khelper]
root        14    2 0  May20  ?           0:00 [kdevtmpfs]
root        15    2 0  May20  ?           0:00 [cpuset/0]
root        20    2 0  May20  ?           0:17 [events/0]
root        23    2 0  May20  ?           0:00 [kblockd/0]
root        24    2 0  May20  ?           0:00 [kacpid]
root        25    2 0  May20  ?           0:00 [kacpi_notify]
root       100    2 0  May20  ?           0:00 [kseriod]
root       107    2 0  May20  ?           0:01 [pdflush]
root       108    2 0  May20  ?           0:00 [pdflush]
root       109    2 0  May20  ?           0:00 [kswapd0]
root       110    2 0  May20  ?           0:00 [aio/0]
root       348    2 0  May20  ?           0:00 [ata/0]
root       349    2 0  May20  ?           0:00 [ata_aux]
root       629    2 0  May20  ?           0:00 [scsi_eh_0]
root       707    2 0  May20  ?           0:00 udevd --daemon
root      1014    2 0  May20  ?           0:03 [kjournald]
root      1087  707 0  May20  ?           0:00 udevd --daemon
root      1087  707 0  May20  ?           0:00 udevd --daemon
root      1553    2 0  May20  ?           0:00 [kpsmoused]
root      2054    2 0  May20  ?           0:01 /usr/sbin/rsyslogd -c3
root      2103    2 0  May20  tty1        0:00 /bin/login --     
root      2105    2 0  May20  tty2        0:00 /sbin/getty 38400 tty2
root      2107    2 0  May20  tty3        0:00 /sbin/getty 38400 tty3
root      2109    2 0  May20  tty4        0:00 /sbin/getty 38400 tty4
root      2110    2 0  May20  tty5        0:00 /sbin/getty 38400 tty5
root      2112    2 0  May20  tty6        0:00 /sbin/getty 38400 tty6
root      2133    2 0  May20  ?           0:00 /sbin/rpcbind -w
root      2145    2 0  May20  ?           0:00 dhclient3 -pf /var/run/dhclient.e
root      2146    1 0  May20  ?           0:00 /sbin/rpcbind -w
statd     2147    1 0  May20  ?           0:00 /sbin/rpc.statd
root      2148    2 0  May20  ?           0:00 [rpciod]
root      2150    2 0  May20  ?           0:00 [nfsiod]
root      2151    1 0  May20  ?           0:00 /usr/sbin/rpc.idmapd
root      2153    1 0  May20  ?           0:00 /usr/sbin/rsyslogd -c5
root      2155    1 0  May20  ?           0:00 /usr/sbin/acpid
root      4969    1 0  May20  ?           0:00 /usr/sbin/sshd: root@pts/0
root      6567 8132 0  04:30  pts/0       0:00 -bash
root      7966 9722 0  04:32  pts/0       0:00 ps -ef
root@nas3:~#

*Its not perfect*
...Hoping its 'enough' to trick the average user
@g0tmi1k g0tmi1k changed the title Added support for 'ps -ef' Add support for 'ps -ef' Jun 3, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments