Sponsored Content
Full Discussion: services
Top Forums UNIX for Dummies Questions & Answers services Post 61528 by forbin24 on Friday 4th of February 2005 01:48:12 PM
Old 02-04-2005
I still consider myself a newbie, but thought I would toss this out anyway.

I'm not sure about AIX, but my unix system the netstat vs ps information differs in the following ways:

netstat -a As you said, this shows active connections. If the connecting machine is in the hosts file, it shows up as the host name. If the connecting machine is not in the hosts file, it shows up as an ip address. netstat doesn't show what those connected machines are doing.

ps -ef This will show processes kicked off by the connected machines. In my limited experience a particular service can have multiple different processes.

I think what you are experiencing is what you should expect. Hopefully someone will correct me if I'm off base.
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

services

Hi, Is it possible to remove/disconnect a socket connection having a status of LISTEN, from command prompt..?? Thanks in Advance.. (1 Reply)
Discussion started by: shibz
1 Replies

2. UNIX for Dummies Questions & Answers

ports and services

hello all, in order for me to close ports and remove services that could be a danger to my system i have edited the /etc/initd.conf file, /etc/system file, and renamed some of the r commands. However i wanted to know if anyone knows how to turn off all services and close ALL known ports, so i... (3 Replies)
Discussion started by: Holistic
3 Replies

3. HP-UX

HP-UX services

Hi, We are running HP-UX 11.11 in trusted mode. We have a audit scheduled next week and I have been given the resp. to check all the network servies and other user maintenance things. Is there any HP document which states which services can be easily disabled and how. Like ftp, finger etc.... (1 Reply)
Discussion started by: isingh786
1 Replies

4. Windows & DOS: Issues & Discussions

Services for Unix

I just installed Services for Unix on a Windows 2003 DC. I have a Debian box with Samba shares for our storage drive. I'm trying to test a Linux client. She is unable to read or write from the Samba shares. Her login is being mapped to the same name from NIS to AD. She can login from a windows... (0 Replies)
Discussion started by: dawningtech
0 Replies

5. UNIX for Dummies Questions & Answers

services in linux

hi, what is the command for checking the particular services and how can we find whether that service is up or down. Consider http service. how to check whether its up or down Edit: Question continued here. (0 Replies)
Discussion started by: satheeshkr_cse
0 Replies

6. Solaris

etc/services

Need help from the unix admins out there. I am trying to telnet from a windoze machine to a sun machine. It won't let me connect. I looked at etc/services and I found the port that telnet was listening on. But, how can I tell if its actually up and available? is there a unix command I can issue?... (15 Replies)
Discussion started by: Harleyrci
15 Replies

7. AIX

Help with /etc/services

Hi In my AIX 5.3 box I already have the below entry: #cat /etc/services | grep -i 3602 infiniswitchcl 3602/tcp # InfiniSwitch Mgr Client infiniswitchcl 3602/udp # InfiniSwitch Mgr Client Now I got an requirement to add the below entry in the same port... (6 Replies)
Discussion started by: samsungsamsung
6 Replies

8. Red Hat

Restart of services if port no is changed in /etc/services in RHEL

I had a doubt if any services need to be restarted if port no in /etc/services in an RHEL setup is changed. For eg, the port no of 443 for SSL may need to be changed. I hope my query is clear whether any services need to be restarted if port no in /etc/services is changed. Please revert with... (10 Replies)
Discussion started by: RHCE
10 Replies

9. Shell Programming and Scripting

Script to Start services based on dependent services on other AIX machine

Hi, I just started working on a script. After my research, i found a command which can help me: AIM: To build a script which starts the services (Services 1) on server 1 automatically whenever its down. And it has a dependency on other service (Service 2) on Server 2. So my script has to... (4 Replies)
Discussion started by: draghun9
4 Replies
WIN32_DELETE_SERVICE(3) 						 1						   WIN32_DELETE_SERVICE(3)

win32_delete_service - Deletes a service entry from the SCM database

SYNOPSIS
mixed win32_delete_service (string $servicename, [string $machine]) DESCRIPTION
Attempts to delete a service from the SCM database. Administrative privileges are required for this to succeed. This function really just marks the service for deletion. If other processes (such as the Services Applet) are open, then the deletion will be deferred until those applications are closed. If a service is marked for deletion, further attempts to delete it will fail, and attempts to create a new service with that name will also fail. PARAMETERS
o $servicename - The short name of the service. o $machine - The optional machine name. If omitted, the local machine will be used. RETURN VALUES
Returns WIN32_NO_ERROR on success, FALSE if there is a problem with the parameters or a Win32 Error Code on failure. EXAMPLES
Example #1 A win32_delete_service(3) example Deletes the dummyphp service. <?php win32_delete_service('dummyphp'); ?> SEE ALSO
win32_create_service(3), Win32 Error Codes. PHP Documentation Group WIN32_DELETE_SERVICE(3)
All times are GMT -4. The time now is 03:47 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy