Help - Search - Members - Calendar
Full Version: ps command
The Planet Forums > Operating Systems > BSD
atokatli
hi,
I am look in to my server via ssh iwth putty
and
I must see the places of shoutcast for undestanding the radio owner
I am writing ps
it is only showing executable files's name which runs
and
when writing ps -ef it is showing whole things
but it can not seen on screen becasue of lengths
how can I see the places of shoutcast
I need it for restarting the radio because some times clients desire to upgrade or downgrade
eztiger
Hi,

I'm not sure if you're looking for the shoutcast process or just for the actual shoutcast file locations.

If it's the process then your ps should display it (be sure to do it as root, especially if you have

security.bsd.see_other_uids=0

in your /etc/sysctl.conf

Finding out where the files are and how to restart etc is a little tricker as it depends on how you installed it.

I'm not familiar with shoutcast, and I can't find a port for it in the ports tree so I'm guessing it was installed by hand? in which case it could be anywhere.

Check /etc/rc.d for a shoutcast init script (on the offchance) and use ./shoutcast start|stop|restart (or run with no parameters to get a list of functions).

Failing that if you know the binary name try find / -name "shoutcastbinary"

Which should tell you where it is located.

Hope this helps,

Kev
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.