GitXplorerGitXplorer
m

what

public
13 stars
1 forks
0 issues

Commits

List of commits on branch master.
Unverified
7ccdaedc74e07d5924f260e9caf58f0f7bf54ad9

Merge pull request #1 from NutshellySima/master

jjonhoo committed 8 years ago
Verified
bad3972ae29c99be84b1b60bb11b4e246aaf6242

[Enhancement] Add Python 3 support

NNutshellySima committed 8 years ago
Verified
589ce225f75f41822c7214fdeef0679487f1bb2f

Add README

jjonhoo committed 8 years ago
Unverified
c2bec0474f1d4a3b83c1f0937d193d2fe286e455

Add LICENSE file

jjonhoo committed 8 years ago
Unverified
0cfd2c258bc0ad900309317ffb1e9a9308cbbdc6

even better: use env python2

zzeldovich committed 9 years ago
Unverified
fe0ca251f581cdf22fe74da8de7204d30c51cb4e

use python2

ddavidlazar committed 9 years ago

README

The README file for this repository.

what

what is an improved version of the w tool. It finds all processes associated with a TTY (not just those registered in wtmp), and reports all users that are running anything. In particular, unlike w, what will also shows things running in detached screens/tmuxen.

Example output:

$ ./what 
 up 23m56s   4 users  load 0.65 0.41 0.23  procs 1/403
USER     TTY      LOGIN  INPUT OUTPUT WHAT
root     tty1    23m53s 23m53s 23m53s /sbin/agetty --noclear tty1 linux 
root     tty7    23m53s 23m53s 23m53s /usr/lib/xorg-server/Xorg -nolisten tcp vt07 -auth /var/run/slim.auth 
jon      pts/0    9m36s     2s     2s python2 ./what 
root     none    177 more processes
jon      none    42 more processes