×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Process Control

Process Control

Process Control

(OP)
I have a "runaway" process filling up /home, and I can't determine which one it is with ps -ef. I wish I had "top" but I don't on this machine. Is there a way to get it from the Internet? Or what is the best way to search for this out of control process?

Thanks

RE: Process Control

top is a must have for troubleshooting, go to;
http://www.sunfreeware.com/ and you can download it...

RE: Process Control

Also have a look for "lsof". This will show what processes are using an open file, and much more. "lsof /home" would show all processes that are accessing files on /home.

An often forgotten standard utility is "fuser" (/usr/sbin/fuser on Solaris). If you know the name of the file that is being generated then do:

/usr/sbin/fuser /home/filename

This should list PIDs for processes accessing the file.

RE: Process Control

(OP)
Thank you for your help. I went to Sun's webpage, and I'm
in the process of installing TOP (/usr/local/bin), but
getting the following error message when doing 'make install':

make install
/bin/cc -DHAVE_GETOPT -DORDER -DHAVE_STRERROR -c top.c
sh: /bin/cc: not found
*** Error code 1
make: Fatal error: Command failed for target `top.o'

RE: Process Control

Since Solaris 2.x, Sun no longer includes a C compiler with the OS. You have to purchase your own or, preferrable, load the freely available GNU gcc compiler.

You can find many useful applications at:

http://metalab.unc.edu/pub/solaris/sparc/

Hope that helps,
jfk

RE: Process Control

Also take a look at http://www.sunfreeware.com - lots of pre-compiled goodies on there for Solaris 2.5 up. Top is on there for SPARC and Intel for Solaris 2.5 and 2.6, at least.

RE: Process Control

You can also get the GNU gcc compiler at sunfreeware.com, in case you need to compile something in the future. Definately look at lsof, I have had instances where the process did not showup in anything but lsof when I had a similar problem.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close