Advertisement
Guest User

output.txt

a guest
Feb 26th, 2015
376
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.00 KB | None | 0 0
  1. -----------------------------------
  2. Output of my C++ prog :
  3. -----------------------------------
  4. I'am the original process with PID 21184 and PPID 21128.
  5. I'am the parent with PID 21184 and PPID 21128.
  6. My child's PID is 21185
  7. PID 21184 terminates.
  8.  
  9. I'm the child with PID 21185 and PPID 21184 before sleeping.
  10. saurabh@JaiJinendra:~/Desktop/IV Sem/OS/Online Resources/Programs/Assignment1$
  11. I'm the child with PID 21185 and PPID 29179 after waking up.
  12. PID 21185 terminates.
  13. -----------------------------------
  14. Output of ps -e
  15. -----------------------------------
  16. PID TTY TIME CMD
  17. 1 ? 00:00:02 init
  18. 2 ? 00:00:00 kthreadd
  19. 3 ? 00:00:01 ksoftirqd/0
  20. 5 ? 00:00:00 kworker/0:0H
  21. 7 ? 00:01:13 rcu_sched
  22. 8 ? 00:00:15 rcuos/0
  23. 9 ? 00:00:12 rcuos/1
  24. 10 ? 00:00:18 rcuos/2
  25. 11 ? 00:01:03 rcuos/3
  26. 12 ? 00:00:00 rcuos/4
  27. 13 ? 00:00:00 rcuos/5
  28. 14 ? 00:00:00 rcuos/6
  29. 15 ? 00:00:00 rcuos/7
  30. 16 ? 00:00:00 rcu_bh
  31. 17 ? 00:00:00 rcuob/0
  32. 18 ? 00:00:00 rcuob/1
  33. 19 ? 00:00:00 rcuob/2
  34. 20 ? 00:00:00 rcuob/3
  35. 21 ? 00:00:00 rcuob/4
  36. 22 ? 00:00:00 rcuob/5
  37. 23 ? 00:00:00 rcuob/6
  38. 24 ? 00:00:00 rcuob/7
  39. 25 ? 00:00:01 migration/0
  40. 28 ? 00:00:01 migration/1
  41. 29 ? 00:00:02 ksoftirqd/1
  42. 31 ? 00:00:00 kworker/1:0H
  43. 33 ? 00:00:01 migration/2
  44. 34 ? 00:00:01 ksoftirqd/2
  45. 36 ? 00:00:00 kworker/2:0H
  46. 38 ? 00:00:01 migration/3
  47. 39 ? 00:00:02 ksoftirqd/3
  48. 41 ? 00:00:00 kworker/3:0H
  49. 42 ? 00:00:00 khelper
  50. 43 ? 00:00:00 kdevtmpfs
  51. 44 ? 00:00:00 netns
  52. 45 ? 00:00:00 writeback
  53. 46 ? 00:00:00 kintegrityd
  54. 47 ? 00:00:00 bioset
  55. 48 ? 00:00:05 kworker/u17:0
  56. 49 ? 00:00:00 kblockd
  57. 50 ? 00:00:00 ata_sff
  58. 51 ? 00:00:00 khubd
  59. 52 ? 00:00:00 md
  60. 53 ? 00:00:00 devfreq_wq
  61. 58 ? 00:00:00 khungtaskd
  62. 59 ? 00:00:00 kswapd0
  63. 60 ? 00:00:00 ksmd
  64. 61 ? 00:00:11 khugepaged
  65. 62 ? 00:00:00 fsnotify_mark
  66. 63 ? 00:00:00 ecryptfs-kthrea
  67. 64 ? 00:00:00 crypto
  68. 76 ? 00:00:00 kthrotld
  69. 99 ? 00:00:00 deferwq
  70. 100 ? 00:00:00 charger_manager
  71. 151 ? 00:00:00 kpsmoused
  72. 153 ? 00:00:00 scsi_eh_0
  73. 154 ? 00:00:00 scsi_eh_1
  74. 155 ? 00:00:00 scsi_eh_2
  75. 172 ? 00:00:14 jbd2/sda7-8
  76. 173 ? 00:00:00 ext4-rsv-conver
  77. 312 ? 00:00:00 upstart-udev-br
  78. 317 ? 00:00:00 systemd-udevd
  79. 361 ? 00:00:00 irq/62-mei_me
  80. 404 ? 00:00:00 cfg80211
  81. 423 ? 00:00:00 kvm-irqfd-clean
  82. 483 ? 00:00:00 upstart-socket-
  83. 575 ? 00:00:00 scsi_eh_3
  84. 576 ? 00:00:11 rts5139-control
  85. 577 ? 00:06:37 rts5139-polling
  86. 579 ? 00:00:00 ttm_swap
  87. 721 ? 00:00:00 upstart-file-br
  88. 723 ? 00:00:38 dbus-daemon
  89. 725 ? 00:00:00 rsyslogd
  90. 741 ? 00:00:00 ModemManager
  91. 821 ? 00:00:19 avahi-daemon
  92. 826 ? 00:00:00 avahi-daemon
  93. 827 ? 00:00:00 bluetoothd
  94. 832 ? 00:00:00 krfcommd
  95. 873 ? 00:00:00 systemd-logind
  96. 877 ? 00:00:47 NetworkManager
  97. 883 ? 00:00:02 polkitd
  98. 905 ? 00:00:00 hd-audio1
  99. 908 ? 00:00:00 hd-audio0
  100. 918 ? 00:00:44 wpa_supplicant
  101. 920 ? 00:00:00 hci0
  102. 921 ? 00:00:00 hci0
  103. 1039 ? 00:00:04 dnsmasq
  104. 1126 tty4 00:00:00 getty
  105. 1130 tty5 00:00:00 getty
  106. 1136 tty2 00:00:00 getty
  107. 1137 tty3 00:00:00 getty
  108. 1140 tty6 00:00:00 getty
  109. 1202 ? 00:00:00 cups-browsed
  110. 1204 ? 00:00:23 irqbalance
  111. 1210 ? 00:00:05 acpid
  112. 1226 ? 00:00:06 kerneloops
  113. 1228 ? 00:00:00 cron
  114. 1389 ? 00:00:04 whoopsie
  115. 1403 ? 00:00:10 apache2
  116. 1407 ? 00:00:00 apache2
  117. 1408 ? 00:00:00 apache2
  118. 1409 ? 00:00:00 apache2
  119. 1410 ? 00:00:00 apache2
  120. 1411 ? 00:00:00 apache2
  121. 1626 tty1 00:00:00 getty
  122. 1656 ? 00:00:00 lightdm
  123. 1670 ? 00:00:04 accounts-daemon
  124. 1713 ? 00:00:00 kauditd
  125. 1817 ? 00:00:10 upowerd
  126. 1834 ? 00:00:03 rtkit-daemon
  127. 2046 ? 00:00:00 colord
  128. 2528 ? 00:00:31 udisksd
  129. 2717 ? 00:00:02 mount.ntfs
  130. 9005 ? 00:00:00 xfsalloc
  131. 9007 ? 00:00:00 xfs_mru_cache
  132. 9008 ? 00:00:00 xfslogd
  133. 9011 ? 00:00:00 jfsIO
  134. 9012 ? 00:00:00 jfsCommit
  135. 9013 ? 00:00:00 jfsCommit
  136. 9014 ? 00:00:00 jfsCommit
  137. 9015 ? 00:00:00 jfsCommit
  138. 9016 ? 00:00:00 jfsSync
  139. 9035 ? 00:00:00 bioset
  140. 14862 ? 00:00:00 apache2
  141. 16202 ? 00:00:00 cupsd
  142. 16206 ? 00:00:00 dbus
  143. 18350 ? 00:00:01 kworker/u17:2
  144. 18840 ? 00:00:16 kworker/2:2
  145. 18881 ? 00:00:18 kworker/0:0
  146. 20229 ? 00:00:00 kworker/u16:2
  147. 20348 ? 00:00:08 gnome-terminal
  148. 20355 ? 00:00:00 gnome-pty-helpe
  149. 20356 pts/1 00:00:00 bash
  150. 20427 ? 00:00:00 kworker/3:2
  151. 20462 ? 00:00:00 kworker/u16:1
  152. 20551 ? 00:00:00 kworker/u16:0
  153. 20555 pts/1 00:00:00 ps
  154. 21474 ? 00:00:19 kworker/1:2
  155. 26961 ? 00:00:00 dhclient
  156. 28905 ? 00:00:00 kworker/2:1
  157. 28908 ? 00:00:00 kworker/3:1
  158. 28915 tty7 00:01:00 Xorg
  159. 28920 ? 00:00:00 kworker/1:1
  160. 28993 ? 00:00:00 lightdm
  161. 29177 ? 00:00:07 gnome-keyring-d
  162. 29179 ? 00:00:00 init
  163. 29242 ? 00:00:01 dbus-daemon
  164. 29254 ? 00:00:00 upstart-event-b
  165. 29260 ? 00:00:00 window-stack-br
  166. 29268 ? 00:00:01 bamfdaemon
  167. 29269 ? 00:00:04 ibus-daemon
  168. 29282 ? 00:00:00 at-spi-bus-laun
  169. 29286 ? 00:00:00 dbus-daemon
  170. 29289 ? 00:00:00 at-spi2-registr
  171. 29302 ? 00:00:00 gvfsd
  172. 29306 ? 00:00:00 upstart-dbus-br
  173. 29312 ? 00:00:00 upstart-dbus-br
  174. 29317 ? 00:00:00 upstart-file-br
  175. 29321 ? 00:00:00 ibus-dconf
  176. 29322 ? 00:00:01 ibus-ui-gtk3
  177. 29324 ? 00:00:00 ibus-x11
  178. 29339 ? 00:00:01 ibus-engine-sim
  179. 29366 ? 00:00:00 unity-settings-
  180. 29370 ? 00:00:04 hud-service
  181. 29376 ? 00:00:00 gnome-session
  182. 29381 ? 00:00:02 unity-panel-ser
  183. 29442 ? 00:00:00 indicator-keybo
  184. 29444 ? 00:00:00 indicator-messa
  185. 29445 ? 00:00:00 indicator-bluet
  186. 29450 ? 00:00:00 indicator-power
  187. 29452 ? 00:00:00 indicator-datet
  188. 29456 ? 00:00:00 indicator-sound
  189. 29462 ? 00:00:00 indicator-print
  190. 29471 ? 00:00:00 pulseaudio
  191. 29473 ? 00:00:00 evolution-sourc
  192. 29480 ? 00:00:00 indicator-sessi
  193. 29484 ? 00:00:00 indicator-appli
  194. 29523 ? 00:00:00 dconf-service
  195. 29536 ? 00:00:00 notify-osd
  196. 29631 ? 00:00:00 gvfsd-metadata
  197. 29636 ? 00:00:41 compiz
  198. 29640 ? 00:00:00 evolution-calen
  199. 29643 ? 00:00:00 nautilus
  200. 29650 ? 00:00:00 nm-applet
  201. 29652 ? 00:00:01 alarm-clock-app
  202. 29656 ? 00:00:00 unity-fallback-
  203. 29660 ? 00:00:00 polkit-gnome-au
  204. 29666 ? 00:00:00 gconfd-2
  205. 29670 ? 00:00:00 gvfs-udisks2-vo
  206. 29687 ? 00:00:00 gvfs-gphoto2-vo
  207. 29691 ? 00:00:00 gvfs-afc-volume
  208. 29696 ? 00:00:00 gvfs-mtp-volume
  209. 29702 ? 00:00:00 gvfsd-trash
  210. 29712 ? 00:00:00 gvfsd-burn
  211. 29782 ? 00:00:00 unity-scope-hom
  212. 29793 ? 00:00:00 unity-scope-loa
  213. 29808 ? 00:00:00 zeitgeist-daemo
  214. 29818 ? 00:00:00 unity-music-dae
  215. 29822 ? 00:00:00 unity-files-dae
  216. 29825 ? 00:00:00 zeitgeist-datah
  217. 29827 ? 00:00:01 zeitgeist-fts
  218. 29839 ? 00:00:00 cat
  219. 29864 ? 00:00:00 telepathy-indic
  220. 29870 ? 00:00:00 mission-control
  221. 29899 ? 00:00:00 gvfsd-http
  222. 29944 ? 00:00:37 chrome
  223. 29951 ? 00:00:00 cat
  224. 29952 ? 00:00:00 cat
  225. 29954 ? 00:00:00 chrome-sandbox
  226. 29955 ? 00:00:00 chrome
  227. 29962 ? 00:00:00 chrome-sandbox
  228. 29963 ? 00:00:00 nacl_helper
  229. 29965 ? 00:00:00 chrome
  230. 29985 ? 00:00:03 chrome
  231. 29995 ? 00:00:00 chrome
  232. 30003 ? 00:00:08 chrome
  233. 30024 ? 00:00:00 chrome
  234. 30033 ? 00:00:02 chrome
  235. 30043 ? 00:00:00 chrome
  236. 30047 ? 00:00:00 chrome
  237. 30055 ? 00:00:02 chrome
  238. 30060 ? 00:00:01 chrome
  239. 30070 ? 00:00:00 chrome
  240. 30081 ? 00:00:06 chrome
  241. 30086 ? 00:00:02 chrome
  242. 30095 ? 00:00:01 chrome
  243. 30099 ? 00:00:16 chrome
  244. 30105 ? 00:00:00 chrome
  245. 30113 ? 00:00:17 chrome
  246. 30125 ? 00:00:02 chrome
  247. 30223 ? 00:00:02 chrome
  248. 30228 ? 00:00:02 chrome
  249. 30239 ? 00:00:01 chrome
  250. 30264 ? 00:00:01 chrome
  251. 30278 ? 00:00:04 chrome
  252. 30304 ? 00:00:01 chrome
  253. 30388 ? 00:00:45 sublime_text
  254. 30408 ? 00:00:03 plugin_host
  255. 30456 ? 00:00:00 update-notifier
  256. 30562 ? 00:00:00 deja-dup-monito
  257. 30680 ? 00:00:00 kworker/0:2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement