How to find servies already running


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers How to find servies already running
# 1  
Old 01-06-2004
How to find servies already running

Hello everybody
May you advise how can I find which services are running already in my Solaris 8 workstation?
Thanks and Regards
# 2  
Old 01-06-2004
Try netstat -a

Last edited by cbkihong; 01-06-2004 at 09:45 AM..
# 3  
Old 01-06-2004
Quote:
Originally posted by cbkihong
Try netstat -a
Thanks
can it shows non running services also?
# 4  
Old 01-06-2004
It will show you what services are listening. This means if telnet is allowed, there will be a entry such as...
*.telnet *.* 0 0 0 0 LISTEN

If no one is actually connected via telnet then that is all you would see ($ netstat -a|grep -i telnet). If someone is connected, then you would see that connection also.
# 5  
Old 01-06-2004
by "non running" do you mean installed on your system? if so then that would depend on what is installed at your site.
# 6  
Old 01-07-2004
Quote:
Originally posted by norsk hedensk
by "non running" do you mean installed on your system? if so then that would depend on what is installed at your site.
Yes for example I have installed some sort of software which has problems during launching and I need to investigate it.
Regards
# 7  
Old 01-07-2004
well check the error logs of that program you are trying to run. when you enter the path to the executable at the command line, what happens? any information output to your screen? look in the documentation of the software that youare using, and see where it logs its errors.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

How to find which host a VM is running on?

We have quite a few Linux VMs running (several hundred). Some are running in VMware and some are running on Citrix XenServer. I know that it is possible, for example, to go into vSphere and search for the host name. But there are times where it is not found for whatever reason and I want to log... (0 Replies)
Discussion started by: keelba
0 Replies

2. Shell Programming and Scripting

Find out if a script has ended or still running

I have a script which will run for sometime, i want to monitor it's progress by sending out a mail by runing a infinite loop from command line for eg. this is the script $cat script1.sh #!/usr/bin/ksh i=0 while do sleep 2 echo $i hi i=`expr $i + 1` done > testprog.out ... (5 Replies)
Discussion started by: sam05121988
5 Replies

3. UNIX for Dummies Questions & Answers

Find the directory in which a program is running

Hi, I'm wondering if this is possible. I run several FORTRAN programs in different directories that have the same name (say program_X). I use the command 'top' to find the programs running and the time taken. I'm wondering if it's possible to the directory in which these programs are... (1 Reply)
Discussion started by: lost.identity
1 Replies

4. Shell Programming and Scripting

Running find in all directories except one

hi, in a directory called dir1 with subdir : dir11 dir12 dir13 dir14 i'm using this kind of request in ksh: find /dir1 -name '*txt' |wc -l i want now to run the same request but without going down in the subdir dir14 is there a simple way to do that ? if not what do you... (4 Replies)
Discussion started by: Nicol
4 Replies

5. Solaris

How to find an application running on multithread?

Dear Friends, We have one T5240 server with 128vcpus in our lab.Performance of the server is very poor. Application uses only 2% of processor..I heard that single thread application performs slowly in coolthread.How can we find whether the application running on multithread or single thread? If... (7 Replies)
Discussion started by: nicktrix
7 Replies

6. UNIX for Dummies Questions & Answers

CPU 0% idle - how do I find what was running?

Hi, I checking yesterday's SAR logs for one of our servers and it was showing that utilisation was down to 0% for 10 minutes at 2am. We're unaware of any jobs running at this time so need to find out which process caused this spike. Is there anything built into SAR (or does anything else exist)... (11 Replies)
Discussion started by: dlam
11 Replies

7. Windows & DOS: Issues & Discussions

how to find running databases in windows

Hi, I am working in solaris os.I would like to know how many databases are running in windows. Is there any command like ps -ef|grep pmon in wndows............... Thanks&Regards, Arul (1 Reply)
Discussion started by: arulkumar
1 Replies

8. UNIX for Dummies Questions & Answers

How to find Packages running on a server

On a HP machine I used this /usr/sbin/cmviewcl But on a Sun machine what is the command to find out the packages installed on it. Thanks (4 Replies)
Discussion started by: venu_nbk
4 Replies

9. UNIX for Dummies Questions & Answers

how to find all processes that are running

Hi i've been googling a lot but can't find an answer. All I would like to know is how to find out all processes that are running on a machine. I know ps gives all YOUR processes. thanks (9 Replies)
Discussion started by: speedieB
9 Replies

10. Programming

to find current running process

Hi All, The scenario is like this: There is a process say "A" which create a child process say "B" if some condition is true and process "A" terminates. "B" invokes some C program say "C" using 'execl' function. The job of program "C" is to keep polling the server until the server will be up.... (2 Replies)
Discussion started by: ranjkuma692
2 Replies
Login or Register to Ask a Question