{"id":619,"date":"2012-05-01T03:30:30","date_gmt":"2012-05-01T03:30:30","guid":{"rendered":"http:\/\/kraftek.com\/blog\/?p=619"},"modified":"2012-05-01T03:30:30","modified_gmt":"2012-05-01T03:30:30","slug":"ps-ef-shows-uids-instead-of-usernames","status":"publish","type":"post","link":"\/blog\/index.php\/ps-ef-shows-uids-instead-of-usernames\/","title":{"rendered":"ps -ef shows uids instead of usernames"},"content":{"rendered":"<p>This happens:<br \/>\n# ps -ef<br \/>\noracle 31868 1 0 08:37 x y z 00:00:00 ora_p103_salerep<br \/>\n103 1789 1788 0 08:39 pts\/2 00:00:00 -bash<br \/>\n103 2099 1789 0 08:39 pts\/2 00:00:00 ps -ef<br \/>\n103 2100 1789 0 08:39 pts\/2 00:00:00 grep -i 103<br \/>\nNotice we see \u201c103\u2033 in the first column instead of the username, this is because uid 103 is \u201csiebadmin\u201d, which<br \/>\nis &gt;8 characters long. Ps has a column width of 8 on the first column, and if the username does not fit, it uses<br \/>\nthe uid. This is not fixable, unless in source.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This happens: # ps -ef oracle 31868 1 0 08:37 x y z 00:00:00 ora_p103_salerep 103 1789 1788 0 08:39 pts\/2 00:00:00 -bash 103 2099 1789 0 08:39 pts\/2 00:00:00 ps -ef 103 2100 1789 0 08:39 pts\/2 00:00:00 grep -i 103 Notice we see \u201c103\u2033 in the first column instead of the username, this [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-619","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts\/619","targetHints":{"allow":["GET"]}}],"collection":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=619"}],"version-history":[{"count":0,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts\/619\/revisions"}],"wp:attachment":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=619"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=619"},{"taxonomy":"post_tag","embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=619"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}