[jl@cs6 ~]$ ps -u jl -LF UID PID PPID LWP C NLWP SZ RSS PSR STIME TTY TIME CMD jl 2725 2722 2725 0 1 24466 1824 0 23:02 ? 00:00:00 sshd: jl@pts/0 jl 2726 2725 2726 0 1 27084 1844 1 23:02 pts/0 00:00:00 -bash jl 2848 2844 2848 0 1 24466 1844 1 23:10 ? 00:00:00 sshd: jl@pts/1 jl 2849 2848 2849 0 1 27110 1892 1 23:10 pts/1 00:00:00 -bash jl 2917 2726 2917 0 1 25281 992 0 23:17 pts/0 00:00:00 man sort jl 2920 2917 2920 0 1 26523 1152 0 23:17 pts/0 00:00:00 sh -c (cd "/usr/share/man" && (echo ".ll jl 2921 2920 2921 0 1 26523 564 0 23:17 pts/0 00:00:00 sh -c (cd "/usr/share/man" && (echo ".ll jl 2925 2921 2925 0 1 26361 868 1 23:17 pts/0 00:00:00 /usr/bin/less -is jl 3185 2849 3185 0 1 27559 1144 0 23:47 pts/1 00:00:00 ps -u jl -LF
This shows all process (-e) and threads (-L) in full format (-F) Show Sample Output
Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?
You must be signed in to comment.
commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.
Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.
» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10
Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):
Subscribe to the feed for: