09-30-2005
how to get the list of process running in the server from the local machin n unix ?
how to get the list of process running in the server from the local machin n unix ?
10 More Discussions You Might Find Interesting
1. HP-UX
want to remove the thread
thanks (2 Replies)
Discussion started by: indira
2 Replies
2. Shell Programming and Scripting
want to remove this thread.
thanks (2 Replies)
Discussion started by: indira
2 Replies
3. Shell Programming and Scripting
Hello all,
I would be happy if any one could help me with a shell script that would determine all the processes running on a Unix server and post a mail if any of the process is not running or aborted.
Thanks in advance
Regards,
pradeep kulkarni.
:mad: (13 Replies)
Discussion started by: pradeepmacha
13 Replies
4. Shell Programming and Scripting
Hi ,
How to check whether web server is running from remote machine
How to check whether web server is running on web server itself
Can any one help me soon (1 Reply)
Discussion started by: satheeshkr_cse
1 Replies
5. AIX
Hi Friends,
I have this script for ftping files from AIX server to local windows xp.
#!/bin/sh
HOST='localsystem.net'
USER='myid_onlocal'
PASSWD='mypwd_onlocal'
FILE='file.txt' ##This is a file on server(AIX)
ftp -n $HOST <<END_SCRIPT
quote USER $USER
quote PASS $PASSWD
put $FILE... (1 Reply)
Discussion started by: rajsharma
1 Replies
6. AIX
Hello,
On Linux, I can use 'ps -efL | grep process_name' to list all threads that belong to a running process. -L has a different meaning on AIX and I could not find an equivalent flag in the man pages.
Does anyone know of a way to dump the threads under a running process?
Thanks,... (2 Replies)
Discussion started by: makodarear
2 Replies
7. UNIX for Dummies Questions & Answers
Consider two servers tst01 and tst02.
i need to log in tst01 and check for the processes which run in tst02.
then based on pid , i need to kill that process.
is it possible to achieve?
I am able to connect to tst02 using ftp.
But the problem is, if i use ps it says invalid command.
... (3 Replies)
Discussion started by: pandeesh
3 Replies
8. UNIX for Dummies Questions & Answers
How do i list the running process and also view the ports they are listening to at the same time? (3 Replies)
Discussion started by: mena
3 Replies
9. Shell Programming and Scripting
Hi guys,
So i am in server1 and i have to login to server 2, 3,4 and run some script there(logging script) and output its result. What i am doing is running the script in server2 and outputting it to a file in server 2 and then Scp'ing the file to server1. Similarly i am doing this for other... (5 Replies)
Discussion started by: srkmish
5 Replies
10. Red Hat
Im building a local yum server to update a handful of RHEL6 and RHEL7 servers, I'll be sharing out these updates via a local http webserver but I have a few questions.
1) it seem I am only able to download RHEL6 patches from a RHEL6 box and 7 patches from a 7 box which would mean I would have to... (1 Reply)
Discussion started by: dendenyc
1 Replies
ypset(1M) ypset(1M)
NAME
ypset - bind to particular Network Information Service server
SYNOPSIS
host] domain] server
Remarks
The Network Information Service (NIS) was formerly known as Yellow Pages (YP). Although the name has changed, the functionality of the
service remains the same.
DESCRIPTION
tells to get Network Information Service (NIS) services for the specified domain from the process running on server (see ypserv(1M) and
ypbind(1M)). server is the NIS server that the NIS client binds to, and is specified as either a host name or an IP address. If server is
down or is not running this is not discovered until a local NIS client process tries to obtain a binding for the domain. The daemon then
tests the binding set by If the binding cannot be made to the requested server, attempts to rebind to another server in the same domain
present in the ypservers file.
NOTE: In order to run must be initiated with the or options. For more information on how to initiate see ypbind(1M).
The command is useful for binding a client node that is not on a broadcast network. If a client node exists on a broadcast network which
has no NIS server running, and if there is a network with one running that is available via a gateway, can establish a binding through that
gateway. It is also useful for debugging NIS client applications such as when a NIS map exists only at a single NIS server.
In cases where several hosts on the local net are supplying NIS services, it is possible for to rebind to another host, even while you
attempt to find out if the operation succeeded. For example, typing followed by and receiving the reply may be confusing. It could occur
when host1 does not respond to because its process is not running or is overloaded, and host2, running gets the binding.
The server is the NIS server to bind to, specified as either a host name or an IP address.
Refer to ypfiles(4) and ypserv(1M) for an overview of the Network Information Service.
Options
recognizes the following options and command-line arguments:
Bind server for the Version 2 NIS protocol.
Set the binding on
host instead of locally. host can be specified as a host name or an IP address.
Use domain instead of the default domain returned by (see domainname(1)).
DIAGNOSTICS
The user is not root, or ypbind was run without the
flags. See ypserv(1M) for explanations of the flags.
The user is not root, or ypbind was run without one of the
flags. See ypserv(1M) for explanations of the flags.
WARNINGS
Starting with ONCplus version B.11.31.02, the NIS Version 1 protocol is no longer available.
AUTHOR
was developed by Sun Microsystems, Inc.
SEE ALSO
domainname(1), ypwhich(1), ypserv(1M), ypfiles(4).
ypset(1M)