Advertisement
Guest User

Untitled

a guest
Aug 28th, 2014
243
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.56 KB | None | 0 0
  1. $ ps -eaf|grep [u]pstart
  2. root 492 1 0 Jan02 ? 00:00:00 upstart-udev-bridge --daemon
  3. root 1027 1 0 Jan02 ? 00:00:00 upstart-socket-bridge --daemon
  4.  
  5. $ ps -eaf|grep [s]ystemd
  6. root 1 0 0 07:27 ? 00:00:03 /usr/lib/systemd/systemd --switched-root --system --deserialize 20
  7. root 343 1 0 07:28 ? 00:00:03 /usr/lib/systemd/systemd-journald
  8. root 367 1 0 07:28 ? 00:00:00 /usr/lib/systemd/systemd-udevd
  9. root 607 1 0 07:28 ? 00:00:00 /usr/lib/systemd/systemd-logind
  10. dbus 615 1 0 07:28 ? 00:00:13 /bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
  11.  
  12. UID PID PPID C STIME TTY TIME CMD
  13. root 1 0 0 07:27 ? 00:00:03 /usr/lib/systemd/systemd --switched-root --system --deserialize 20
  14.  
  15. $ ps -efa|grep init
  16. root 1 0 0 Jan02 ? 00:00:03 /sbin/init
  17.  
  18. $ sudo /sbin/init --version
  19. init (upstart 1.5)
  20. Copyright (C) 2012 Scott James Remnant, Canonical Ltd.
  21.  
  22. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY
  23. or FITNESS FOR A PARTICULAR PURPOSE.
  24.  
  25. $ type init
  26. init is /usr/sbin/init
  27.  
  28. $ type init
  29. init is /sbin/init
  30.  
  31. $ sudo init --version
  32. init: invalid option -- -
  33. Usage: init 0123456SsQqAaBbCcUu
  34.  
  35. USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
  36. root 1 0.0 0.0 4216 340 ? Ss 2013 0:57 init [3]
  37.  
  38. test -d /run/systemd/system
  39.  
  40. initctl --version | grep -q upstart
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement