<div>Hi Steve,</div><div>First, I think there is not such utility as "top" in OmniOS. I remember discussion about amount of resources "top" is using, with recommendation to avoid it, at least in production, when resources can be already scarce. Use instead "prstat": installed by default, aware of zones and lightweight-processes, and much more efficient!</div>
<div>About searching files and packages, see "man pkg". For example, to find which package owns prstat utility, "pkg search prstat". Or, for example, "pkg search -r :file:basename:prstat", for looking in remote repositories for packages with "prstat" as the basename of the file to be installed. </div>
<div>-- </div><div>  Regards,</div><div>  Sergey Ivanov.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Dec 12, 2012 at 12:51 PM,  <span dir="ltr"><<a href="mailto:steve@linuxsuite.org" target="_blank">steve@linuxsuite.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Howdy!<br>
<br>
      How do I find out what pkg a file is from. A quick google<br>
suggests<br>
<br>
<a href="http://www.idevelopment.info/data/Unix/Solaris/SOLARIS_TipsDetermineWhichPackageaParticularFileBelongsTo.shtml" target="_blank">http://www.idevelopment.info/data/Unix/Solaris/SOLARIS_TipsDetermineWhichPackageaParticularFileBelongsTo.shtml</a><br>

<br>
   however<br>
<br>
    pkgchk -l -p /bin/ksh<br>
<br>
 produces nothing. Is this because  /var/sadm/install/contents is empty?<br>
Same thing on OI.<br>
<br>
   How do I find out which package a file comes from? Or more<br>
specifially I cant find "top" on OmniOS , is it in a package?<br>
<br>
     thanx - steve<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
OmniOS-discuss mailing list<br>
<a href="mailto:OmniOS-discuss@lists.omniti.com">OmniOS-discuss@lists.omniti.com</a><br>
<a href="http://lists.omniti.com/mailman/listinfo/omnios-discuss" target="_blank">http://lists.omniti.com/mailman/listinfo/omnios-discuss</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Regards,<br>Sergey Ivanov | 443-844-6318 | <a href="mailto:sergey57@gmail.com" target="_blank">sergey57@gmail.com</a><br><a href="http://www.linkedin.com/pub/sergey-ivanov/8/270/a09" target="_blank">http://www.linkedin.com/pub/sergey-ivanov/8/270/a09</a><br>

</div>