{"id":1041,"date":"2009-04-27T11:06:45","date_gmt":"2009-04-27T15:06:45","guid":{"rendered":"http:\/\/www.schollnick.net\/wordpress\/?p=1041"},"modified":"2009-10-30T11:29:30","modified_gmt":"2009-10-30T15:29:30","slug":"whos-this-locum-and-why-is-he-hogging-my-cpu","status":"publish","type":"post","link":"http:\/\/www.schollnick.net\/wordpress\/2009\/04\/whos-this-locum-and-why-is-he-hogging-my-cpu\/","title":{"rendered":"Who&#8217;s this Locum?  And why is he hogging my CPU?"},"content":{"rendered":"<p>Question: <em>I just did a huge cleanup of my backup drive, and my system is running slow, and I see a process named Locum? \u00c2\u00a0What&#8217;s locum?<\/em><\/p>\n<p>PID COMMAND \u00c2\u00a0 \u00c2\u00a0 \u00c2\u00a0%CPU \u00c2\u00a0 TIME \u00c2\u00a0 #TH #PRTS #MREGS RPRVT \u00c2\u00a0RSHRD \u00c2\u00a0RSIZE \u00c2\u00a0VSIZE<br \/>\n75035 Locum \u00c2\u00a0 \u00c2\u00a0 \u00c2\u00a0 23.3% \u00c2\u00a06:12.20 \u00c2\u00a0 1 \u00c2\u00a0 \u00c2\u00a030 \u00c2\u00a0 \u00c2\u00a0 25 \u00c2\u00a0420K+ \u00c2\u00a0300K \u00c2\u00a01244K+ \u00c2\u00a0 19M+<\/p>\n<p>75036 Locum \u00c2\u00a0 \u00c2\u00a0 \u00c2\u00a0 23.1% \u00c2\u00a06:22.59 \u00c2\u00a0 1 \u00c2\u00a0 \u00c2\u00a030 \u00c2\u00a0 \u00c2\u00a0 25 \u00c2\u00a0416K \u00c2\u00a0 300K \u00c2\u00a01236K \u00c2\u00a0 \u00c2\u00a019M<\/p>\n<div>\n<hr \/>\n<p><strong>Question 1: \u00c2\u00a0What&#8217;s Locum?<\/strong><\/div>\n<div><strong><br \/>\n<\/strong><\/div>\n<div>Locum is a Private Framework that Apple has created, and is currently located at:<\/div>\n<div style=\"text-align: center;\">\/System\/Library\/PrivateFrameworks\/DesktopServicesPriv.framework\/Versions\/A\/Resources\/Locum<\/div>\n<div>This <a href=\"http:\/\/unixjunkie.blogspot.com\/2006\/10\/finders-locum.html\">UnixJunkie article<\/a>, goes into some technical details regarding Locum.<\/div>\n<div>\n<hr \/>\n<p><strong>Question 2: Why?<\/strong><\/div>\n<div>Locum is used to assist in Deleting files &amp; folders that the logged in user would not normally have access to. \u00c2\u00a0The finder will allow the user to delete a folder that has a file owned by Root. \u00c2\u00a0Normally Unix would not allow a non-root user to remove a folder that contains a file owned by root. \u00c2\u00a0The finder allows this, but when being emptied the Locum process has to be used to resolve all of these file permission \/ ownership issues.<!--more--><\/div>\n<div>\n<hr \/>\n<p><strong>Question 3: How do I solve this?<\/strong><\/div>\n<div>Grasshoper, Number One &#8211; Make sure you did not make a mistake, ensure that you are deleting what you intended to. \u00c2\u00a0Number Two, just be patient. \u00c2\u00a0Locum will stop hogging your CPU once the emptying of the Trash is done.<\/div>\n<div>\n<hr \/>\n<p><strong>Question 4: What the &#8216;eck is Locum?<\/strong><\/div>\n<div>Ah, Grasshoper.. \u00c2\u00a0That is a question from the far reaches of time. \u00c2\u00a0From our friends at Wikipedia&#8230;<\/div>\n<blockquote>\n<div><strong>Locum<\/strong>, short for the\u00c2\u00a0<a title=\"Latin\" href=\"http:\/\/en.wikipedia.org\/wiki\/Latin\">Latin<\/a> phrase\u00c2\u00a0<strong>locum tenens<\/strong> (lit. &#8220;<a title=\"Placeholder\" href=\"http:\/\/en.wikipedia.org\/wiki\/Placeholder\">place-holder<\/a>,&#8221; akin to\u00c2\u00a0<em><a title=\"Lieutenant\" href=\"http:\/\/en.wikipedia.org\/wiki\/Lieutenant\">lieutenant<\/a><\/em>), is a person who temporarily fulfills the duties of another. For example, a\u00c2\u00a0<strong>Locum doctor<\/strong> is a doctor who works in the place of the regular doctor when that doctor is absent. These professionals are still governed by their respective regulatory bodies, despite the transient nature of their positions.<\/div>\n<\/blockquote>\n<div>\n<hr \/>\n<p><strong>Question 5: But I&#8217;ve heard of Locum in regards to Pages?<\/strong><\/div>\n<div>Ah, Yes. \u00c2\u00a0You are confused Grasshoper&#8230; \u00c2\u00a0You mean Lorem Ipsum, or &#8220;Greek Text&#8221;. \u00c2\u00a0It can be confused with Locum, because it is used as Placeholder Text.<\/div>\n<blockquote>\n<div><strong><a href=\"http:\/\/www.lipsum.com\/\">Lorem Ipsum<\/a><\/strong> is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry&#8217;s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.<\/div>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>Question: I just did a huge cleanup of my backup drive, and my system is running slow, and I see a process named Locum? \u00c2\u00a0What&#8217;s locum? PID COMMAND \u00c2\u00a0 \u00c2\u00a0 \u00c2\u00a0%CPU \u00c2\u00a0 TIME \u00c2\u00a0 #TH #PRTS #MREGS RPRVT \u00c2\u00a0RSHRD \u00c2\u00a0RSIZE \u00c2\u00a0VSIZE 75035 Locum \u00c2\u00a0 \u00c2\u00a0 \u00c2\u00a0 23.3% \u00c2\u00a06:12.20 \u00c2\u00a0 1 \u00c2\u00a0 \u00c2\u00a030 \u00c2\u00a0 \u00c2\u00a0 25 <a class=\"read-more\" href=\"http:\/\/www.schollnick.net\/wordpress\/2009\/04\/whos-this-locum-and-why-is-he-hogging-my-cpu\/\">[&hellip;]<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0},"categories":[12,5,25],"tags":[78],"_links":{"self":[{"href":"http:\/\/www.schollnick.net\/wordpress\/wp-json\/wp\/v2\/posts\/1041"}],"collection":[{"href":"http:\/\/www.schollnick.net\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.schollnick.net\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.schollnick.net\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.schollnick.net\/wordpress\/wp-json\/wp\/v2\/comments?post=1041"}],"version-history":[{"count":0,"href":"http:\/\/www.schollnick.net\/wordpress\/wp-json\/wp\/v2\/posts\/1041\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.schollnick.net\/wordpress\/wp-json\/wp\/v2\/media?parent=1041"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.schollnick.net\/wordpress\/wp-json\/wp\/v2\/categories?post=1041"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.schollnick.net\/wordpress\/wp-json\/wp\/v2\/tags?post=1041"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}<!-- WP Super Cache is installed but broken. The constant WPCACHEHOME must be set in the file wp-config.php and point at the WP Super Cache plugin directory. -->