Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@jjasghar
Created June 28, 2012 15:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jjasghar/3011904 to your computer and use it in GitHub Desktop.
Save jjasghar/3011904 to your computer and use it in GitHub Desktop.
stupid nethack
10:08:55 [h0m3ro] ~ $ nethack-console
[1]+ Stopped nethack-console
10:09:31 [h0m3ro] ~ $ sudo kill -9 nethack-console
ERROR: garbage process ID "nethack-console".
Usage:
kill pid ... Send SIGTERM to every process listed.
kill signal pid ... Send a signal to every process listed.
kill -s signal pid ... Send a signal to every process listed.
kill -l List all signal names.
kill -L List all signal names in a nice table.
kill -l signal Convert between signal numbers and names.
10:09:42 [h0m3ro] ~ $ ps waux | grep net
root 16 0.0 0.0 0 0 ? S< Jun27 0:00 [netns]
root 1790 0.0 0.0 2908 1288 ? S Jun27 0:00 /sbin/dhclient -d -4 -sf /usr/lib/NetworkManager/nm-dhcp-client.action -pf /var/run/sendsigs.omit.d/network-manager.dhclient-eth0.pid -lf /var/lib/dhcp/dhclient-1722b892-c1cf-49c4-95e8-3a938c2e3861-eth0.lease -cf /var/run/nm-dhclient-eth0.conf eth0
nobody 1811 0.0 0.0 5384 1164 ? S Jun27 0:00 /usr/sbin/dnsmasq --no-resolv --keep-in-foreground --no-hosts --bind-interfaces --pid-file=/var/run/sendsigs.omit.d/network-manager.dnsmasq.pid --listen-address=127.0.0.1 --conf-file=/var/run/nm-dns-dnsmasq.conf --cache-size=0 --proxy-dnssec
jj 28580 0.0 0.0 4200 1664 pts/4 T 10:09 0:00 /usr/lib/games/nethack/nethack-console
jj 28614 0.0 0.0 4372 828 pts/4 S+ 10:09 0:00 grep net
10:09:52 [h0m3ro] ~ $ sudo kill -9 28580
[1]+ Killed nethack-console
10:10:03 [h0m3ro] ~ $
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment