A good tool is lsof used like this:-
You will get a few lines of output and the PID should be obvious. Be careful, because you will also list processes connected to remote port 10000 too.
Well, i changed my lan card and finally i got it up and running, i have /etc/resolv.conf with
domain xxx.xxx
nameserver xxx.xxx.xxx.xxx
and it was working with me earlier with the old lan card, with the new one i added it ip using auto-dhcp and its received an ip from my dhcp and it can ping... (4 Replies)
Dear Sir / Madam,
With due respect, I am putting forwarad a question that whenever I am trying to check the current Service Pack & Hotfixes in Windows XP, I am getting the response like as under:
(Windows can't find the" qfecheck.exe " check it again) in GUI mode
... (1 Reply)
hi,
i am new to this scripting stuff so please help.
i need a script that should check network connection while process.bsh is running which connects to a server for some time (e.g. 30 secs to a minute) and I wanted to make sure that network interruption does not happen during this time period... (2 Replies)
How can I tell, in a shell script, if a certain service is running? I know how to do this on the command line, but not in a script. Is an error thrown somehow that I can check?
Thanks. (6 Replies)
May i please know
1) How to check if FIFO process is down?
2) How to bring FIFO up and running?
we are using redhat Linux OS and bash shell
Thank you. (1 Reply)
I want to check the postgres service for client PC which is remotely placed through shell script , whether the Postgres service is working or not.I don't have an idea to develop this script.Please give me a code.
Client PC IP Address:
10.66.1.133 (2 Replies)
Hi
How ssh service at all levels always running in her file /etc/inittab?
vi /etc/inittab
10::respawn:/etc/init.d/sshd
I added this line
& save
run init q
But it did not (6 Replies)
Hi
I have created a PowerShell script which successfully checks whether windows service pgsql-9.2 is running.
I have tried to call that PowerShell script with a shell/bash script within a LINUX machine but have been unsuccessful.
Is there a way of a shell/Perl script to check whether a... (5 Replies)
Discussion started by: simpsa27
5 Replies
LEARN ABOUT OPENSOLARIS
smbd
smbd(1M) System Administration Commands smbd(1M)NAME
smbd - CIFS server daemon
SYNOPSIS
/usr/lib/smbsrv/smbd
DESCRIPTION
The smbd daemon handles CIFS/SMB requests from CIFS clients, such as Windows clients. Only processes with {PRIV_SYS_SMB} and sufficient
privileges to write the /var/run directory can run this daemon.
The smbd daemon is automatically invoked by using the sharemgr command over all available transports. By default, smbd starts over the Net-
BIOS-Over-TCP (NBT) and TCP transports.
When smbd is started over NBT, the following services are started:
o The NetBIOS name service is started on UDP port 137.
o The NetBIOS datagram service is started on UDP port 138.
o The NetBIOS session service is started on TCP port 139.
When the smbd daemon is started over TCP, the CIFS service is started on TCP port 445.
Only one instance of smbd may be running at a time.
EXIT STATUS
The following exit values are returned:
0 Daemon exited cleanly.
95 Daemon exited with a fatal error.
96 Daemon exited with a configuration error.
ATTRIBUTES
See the attributes(5) man page for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWsmbsu |
+-----------------------------+-----------------------------+
|Interface Stability |Uncommitted |
+-----------------------------+-----------------------------+
SEE ALSO ps(1), svcs(1), sharectl(1M), sharemgr(1M), smbadm(1M), smbstat(1M), svcadm(1M), smb(4), smbautohome(4), system(4), attributes(5), smf(5)NOTES
Use the svcadm command to perform administrative actions on the smbd service, such as enabling, disabling, or restarting the service. Use
the svcs command to query the service status.
The smbd service is managed by the service management facility under the service identifier svc:/network/smb/server.
If the smbd service is disabled, it will be enabled by the sharemgr(1M) command, unless its auto_enable property is set to false.
SunOS 5.11 5 Feb 2008 smbd(1M)