AIX - Refresh (restart) Daemon
Using refresh command we can restart the daemon
#refresh –g nfs (restart the group of subsystems)
#refresh –s rpc.statd (restart the single subsystems)
Like this we can restart the daemons,
Saturday, May 2, 2009
AIX - Stop Daemon
AIX - Stop Daemon
Using stopsrc command we can stop the daemon,If we want to stop nfs daemon, then your command will be
#stopsrc –g nfs
Nfsd – stopped
Biod – stopped
Rpc.mountd – stopped
Rpc.lockd – stopped
Rpc.statd – stopped
Or we can stop single subsystem using –s flag
#stopsrc –s nfsd
Nfsd – stopped, like this we can stop the daemons
Using stopsrc command we can stop the daemon,If we want to stop nfs daemon, then your command will be
#stopsrc –g nfs
Nfsd – stopped
Biod – stopped
Rpc.mountd – stopped
Rpc.lockd – stopped
Rpc.statd – stopped
Or we can stop single subsystem using –s flag
#stopsrc –s nfsd
Nfsd – stopped, like this we can stop the daemons
AIX - List Daemon
AIX - List Daemon
Using lssrc command we can list the daemons
If we want see check status of the nfs daemon, whether subsystems are started or not.
Execute the following command.
#lssrc –g nfs
Nfsd – started
Biod – started
Rpc.mountd – not started
Rpc.lockd – started
Rpc.statd – not started
Or we can check single subsystem status using
#lssrc –s nfsd
Nfsd - started
NOTE:
#lssrc –a
The above command list the status of all the daemons, like this we can list and check the status of the daemons
Using lssrc command we can list the daemons
If we want see check status of the nfs daemon, whether subsystems are started or not.
Execute the following command.
#lssrc –g nfs
Nfsd – started
Biod – started
Rpc.mountd – not started
Rpc.lockd – started
Rpc.statd – not started
Or we can check single subsystem status using
#lssrc –s nfsd
Nfsd - started
NOTE:
#lssrc –a
The above command list the status of all the daemons, like this we can list and check the status of the daemons
AIX - Start daemon
AIX - Start daemon
Using srcstart command we can start the daemon.Actually nfs daemon has 5 subsystems (services), when you configured nfs in server, that 5 subsystems are always start state. If one subsystem is not working properly or not started, then the nfs is not working properly.
Nfs daemons:
Server: 1. nfsd, 2. rpc.mountd
Client: 3.biod, 4. rpc.statd, 5. rpc.lockd
If clients are not able to access the network file system from the server, that time you have to start or restart the nfsd and rpc.mountd subsystems.
#startsrc –s nfsd
#startsrc –s rpc.mountd
Flag –s is mentioned for single, because we are starting single nfsd subsystem
If we want start complete nfs daemons using –g flag
#startsrc –g nfs
Nfsd – started
Biod – started
Rpc.mountd – started
Rpc.lockd – started
Rpc.statd – started
#
The above command is start all the 5 subsystems at the same time, but it is not recommended.
Like this we start single subsystem or group of subsystems.
Using srcstart command we can start the daemon.Actually nfs daemon has 5 subsystems (services), when you configured nfs in server, that 5 subsystems are always start state. If one subsystem is not working properly or not started, then the nfs is not working properly.
Nfs daemons:
Server: 1. nfsd, 2. rpc.mountd
Client: 3.biod, 4. rpc.statd, 5. rpc.lockd
If clients are not able to access the network file system from the server, that time you have to start or restart the nfsd and rpc.mountd subsystems.
#startsrc –s nfsd
#startsrc –s rpc.mountd
Flag –s is mentioned for single, because we are starting single nfsd subsystem
If we want start complete nfs daemons using –g flag
#startsrc –g nfs
Nfsd – started
Biod – started
Rpc.mountd – started
Rpc.lockd – started
Rpc.statd – started
#
The above command is start all the 5 subsystems at the same time, but it is not recommended.
Like this we start single subsystem or group of subsystems.
AIX - SRC AND DAEMONS
AIX - SRC AND DAEMONS
Group of subsystems called daemons, using src command we can perform the following activities with subsystems and daemons.
1. Start daemon
2. List daemon
3. stop daemon
4. refresh (restart) daemon
Group of subsystems called daemons, using src command we can perform the following activities with subsystems and daemons.
1. Start daemon
2. List daemon
3. stop daemon
4. refresh (restart) daemon
AIX - Paging - Deactivate Paging Space
AIX - Paging - Deactivate Paging Space
Using swapoff command we can deactivate the paging space
#swapon /dev/newpaging (To deactivate paging space)
The paging space is deactivated, then that paging space entry is removed from /etc/swapspaces
Using swapoff command we can deactivate the paging space
#swapon /dev/newpaging (To deactivate paging space)
The paging space is deactivated, then that paging space entry is removed from /etc/swapspaces
Subscribe to:
Posts (Atom)