{"id":76465,"date":"2024-12-08T02:06:53","date_gmt":"2024-12-08T02:06:53","guid":{"rendered":"http:\/\/bangla.sitestree.com\/?p=76465"},"modified":"2024-12-25T03:19:28","modified_gmt":"2024-12-25T03:19:28","slug":"linux-ps-command","status":"publish","type":"post","link":"http:\/\/bangla.sitestree.com\/?p=76465","title":{"rendered":"Linux ps command"},"content":{"rendered":"\n<p>ps x<\/p>\n\n\n\n<p>ps -e<\/p>\n\n\n\n<p>ps aux<\/p>\n\n\n\n<p>ps \u2013u username<\/p>\n","protected":false},"excerpt":{"rendered":"<p>ps x ps -e ps aux ps \u2013u username<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1,1231],"tags":[],"class_list":["post-76465","post","type-post","status-publish","format-standard","hentry","category-root","category-----linux-and-unix","item-wrap"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":9598,"url":"http:\/\/bangla.sitestree.com\/?p=9598","url_meta":{"origin":76465,"position":0},"title":"\u0987\u0989\u09a8\u09bf\u0995\u09cd\u09b8 \u09aa\u09cd\u09b0\u09b8\u09c7\u09b8 \u09ae\u09cd\u09af\u09be\u09a8\u09c7\u099c\u09ae\u09c7\u09a8\u09cd\u099f (Unix &#8211; Processes Management)","author":"Author-Check- Article-or-Video","date":"July 1, 2015","format":false,"excerpt":"\u09b0\u09bf\u09a6\u0993\u09df\u09be\u09a8 \u09ac\u09bf\u09a8 \u09b6\u09be\u09ae\u09c0\u09ae \u00a0 \u0987\u0989\u09a8\u09bf\u0995\u09cd\u09b8 \u09b8\u09bf\u09b8\u09cd\u099f\u09c7\u09ae\u09c7 \u09aa\u09cd\u09b0\u09cb\u0997\u09cd\u09b0\u09be\u09ae \u09b0\u09be\u09a8 \u0995\u09b0\u09be\u09a8\u09cb\u09b0 \u09b8\u09ae\u09df \u09b8\u09bf\u09b8\u09cd\u099f\u09c7\u09ae \u09aa\u09cd\u09b0\u09cb\u0997\u09cd\u09b0\u09be\u09ae\u09c7\u09b0 \u0989\u09aa\u09af\u09c1\u0995\u09cd\u09a4 \u09aa\u09b0\u09bf\u09ac\u09c7\u09b6 \u09a4\u09c8\u09b0\u09bf \u0995\u09b0\u09c7 \u09a8\u09c7\u09df\u0964 \u0985\u09aa\u09be\u09b0\u09c7\u099f\u09bf\u0982 \u09b8\u09bf\u09b8\u09cd\u099f\u09c7\u09ae pid \u09ac\u09be \u09aa\u09cd\u09b0\u09b8\u09c7\u09b8 \u0986\u0987\u09a1\u09bf \u09a6\u09cd\u09ac\u09be\u09b0\u09be \u09aa\u09cd\u09b0\u09b8\u09c7\u09b8\u0995\u09c7 \u099f\u09cd\u09b0\u09cd\u09af\u09be\u0995 \u0995\u09b0\u09c7\u0964 \u00a0 \u09aa\u09cd\u09b0\u09b8\u09c7\u09b8 \u09b6\u09c1\u09b0\u09c1 \u0995\u09b0\u09be \u09aa\u09cd\u09b0\u09b8\u09c7\u09b8 \u09b6\u09c1\u09b0\u09c1 \u09ac\u09be \u09b0\u09be\u09a8 \u0995\u09b0\u09be\u09a8\u09cb\u09b0 \u09b8\u09ae\u09df \u09a6\u09c1\u0987 \u09ad\u09be\u09ac\u09c7 \u0986\u09ae\u09b0\u09be \u098f\u099f\u09bf \u0995\u09b0\u09a4\u09c7 \u09aa\u09be\u09b0\u09bf, \u09ab\u09cb\u09b0\u0997\u09cd\u09b0\u09be\u0989\u09a8\u09cd\u09a1 \u09aa\u09cd\u09b0\u0995\u09cd\u09b0\u09bf\u09df\u09be\u09df \u0993 \u09ac\u09cd\u09af\u09be\u0995\u0997\u09cd\u09b0\u09be\u0989\u09a8\u09cd\u09a1 \u09aa\u09cd\u09b0\u0995\u09cd\u09b0\u09bf\u09df\u09be\u09df \u00a0 \u09ab\u09cb\u09b0\u0997\u09cd\u09b0\u09be\u0989\u09a8\u09cd\u09a1\u2026","rel":"","context":"In &quot;\u09b2\u09bf\u09a8\u09be\u0995\u09cd\u09b8 \u098f\u09ac\u0982 \u0989\u09a8\u09bf\u0995\u09cd\u09b8 \u0964 Linux and Unix&quot;","block_context":{"text":"\u09b2\u09bf\u09a8\u09be\u0995\u09cd\u09b8 \u098f\u09ac\u0982 \u0989\u09a8\u09bf\u0995\u09cd\u09b8 \u0964 Linux and Unix","link":"http:\/\/bangla.sitestree.com\/?cat=1231"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":65712,"url":"http:\/\/bangla.sitestree.com\/?p=65712","url_meta":{"origin":76465,"position":1},"title":"Log currently running shell processes into a file in every 30 seconds. #Linux\/Unix: Shell Programming &#8211; 001","author":"Author-Check- Article-or-Video","date":"July 12, 2021","format":false,"excerpt":"#!\/bin\/sh #find all currently running shells and create in full listing form for them . Log the data into a file in every 30 secs # -e means currentl running # -f means full format output # sleep takes parameters in seconds ps -ef | grep shell >> process.log sleep\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":9675,"url":"http:\/\/bangla.sitestree.com\/?p=9675","url_meta":{"origin":76465,"position":2},"title":"\u0987\u0989\u09a8\u09bf\u0995\u09cd\u09b8, \u09b2\u09bf\u09a8\u09be\u0995\u09cd\u09b8 \u0995\u09ae\u09be\u09a8\u09cd\u09a1 \u09a4\u09be\u09b2\u09bf\u0995\u09be (List of Unix, Linux Commands)","author":"Author-Check- Article-or-Video","date":"July 14, 2015","format":false,"excerpt":"\u098f\u0987 \u09aa\u09cb\u09b7\u09cd\u099f\u099f\u09bf \u0985\u09a4\u09bf\u09b6\u09c0\u0997\u09cd\u09b0\u0987 \u0989\u09a8\u09cd\u09ae\u09c1\u0995\u09cd\u09a4 \u0995\u09b0\u09be \u09b9\u09ac\u09c7...............","rel":"","context":"In &quot;\u09b2\u09bf\u09a8\u09be\u0995\u09cd\u09b8 \u098f\u09ac\u0982 \u0989\u09a8\u09bf\u0995\u09cd\u09b8 \u0964 Linux and Unix&quot;","block_context":{"text":"\u09b2\u09bf\u09a8\u09be\u0995\u09cd\u09b8 \u098f\u09ac\u0982 \u0989\u09a8\u09bf\u0995\u09cd\u09b8 \u0964 Linux and Unix","link":"http:\/\/bangla.sitestree.com\/?cat=1231"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":76443,"url":"http:\/\/bangla.sitestree.com\/?p=76443","url_meta":{"origin":76465,"position":3},"title":"Linux: Disk Space, Memory Space, Running Processes","author":"Sayed","date":"December 8, 2024","format":false,"excerpt":"df command \u2013 Shows the amount of disk space used and available on Linux file systems. du command \u2013 Display the amount of disk space used by the specified files and for each subdirectory. free command top or htop command vmstat command dmidecode command \/proc\/meminfo file Linux commands show all\u2026","rel":"","context":"In &quot;Root&quot;","block_context":{"text":"Root","link":"http:\/\/bangla.sitestree.com\/?cat=1"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":65722,"url":"http:\/\/bangla.sitestree.com\/?p=65722","url_meta":{"origin":76465,"position":4},"title":"Topic 1: Basic Date Displaying Shell Script #Linux\/Unix: Shell Programming &#8211; 001","author":"Author-Check- Article-or-Video","date":"July 12, 2021","format":false,"excerpt":"bash-3.2$ cat echoscript1.sh #!\/bin\/sh #clear echo \"SCRIPT BEGINS\" echo \"Hello $LOGNAME\" echo echo \"Todays date is: c\" date '+%m\/%d\/%y' echo \"and the current time is: c\" date '+%H:%M:%S%n' echo \"Now a list of the processes in the current shell\" ps echo \"SCRIPT FINISHED!!\" bash-3.2$ .\/echoscript1.sh SCRIPT BEGINS Hello shell Todays\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":65724,"url":"http:\/\/bangla.sitestree.com\/?p=65724","url_meta":{"origin":76465,"position":5},"title":"Korn Shell Example: Show Dates #Linux\/Unix: Shell Programming &#8211; 001","author":"Author-Check- Article-or-Video","date":"July 12, 2021","format":false,"excerpt":"bash-3.2$ cat echoscript2.ksh #!\/bin\/ksh #clear print \"SCRIPT BEGINS\" print \"Hello $LOGNAME\" print print -n \"Todays date is: \" date '+%m\/%d\/%y' print -n \"and the current time is: \" date '+%H:%M:%S%n' print \"Now a list of the processes in the current shell\" ps print \"SCRIPT FINISHED!!\" bash-3.2$ .\/echoscript2.ksh SCRIPT BEGINS Hello\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/76465","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=76465"}],"version-history":[{"count":1,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/76465\/revisions"}],"predecessor-version":[{"id":76466,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/76465\/revisions\/76466"}],"wp:attachment":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=76465"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=76465"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=76465"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}