Gossamer Forum
Home : General : Perl Programming :

System Resources

Quote Reply
System Resources
How can I determine how much system resources a perl script is using? I am currently on a unix shared server.

Thanks!
Adam

Quote Reply
Re: System Resources In reply to
type in top in the command prompt in telnet.

Regards,

Eliot

Quote Reply
Re: System Resources In reply to
It comes back with:

Segmentation fault

Adam


Quote Reply
Re: System Resources In reply to
Did you type in top at the

# line?

Like:

Code:

machine1:/dir/dir/account#top


If you did and receive the same error, then your hosting company may have disabled this function.

Regards,

Eliot

Quote Reply
Re: System Resources In reply to
In my case it's the $

I guess they do have it disabled.

Oh well.....Thanks anyway,

Adam

Quote Reply
Re: System Resources In reply to
The $ means you do not have Administrative powers on the machine you are logged.

If the System Admin has enables your account to have Admin powers (or you are a 'Super User' or root) it would display the bash #.

Rgds,

Wiliam Stephens