Distributed Networks Distributed Networks




TCP/IP Configuration  «Prev 

Check the status of the portmapper Process using Linux

Here are the steps you needed to follow to successfully complete this simulation:
  1. You are logged in as root. Issue the following to verify that the portmap process is running on your system:
    ps aux | grep portmap 
    Solution: ps aux | grep portmap 
    
  2. You have verified that portmap is running. The rpcinfo program is a diagnostic tool that allows you to issue a test RPC call to an RPC server. If the server is running, it will send back a response. The information contained within this response informs you about the ports that have been mapped by portmap. Now, issue the following command to learn about its status on your own system:
    /usr/sbin/rpcinfo -p localhost
    


    Solution: /usr/sbin/rpcinfo -p localhost
  3. You have tested your own system. Let's assume that other UNIX systems running rpc exist on your subnet.
    These systems include 192.168.19.63, 192.168.19.64. 192.168.19.93, 192.168.19.95, 192.168.19.98. Now, use rpcinfo to test the system with the IP address of 192.168.19.63.
    Remember: you have not set the PATH for this command, so remember to specify the location of the program (/usr/sbin/).
    Solution:
    /usr/sbin/rpcinfo -p 192.168.19.63
    

In multitasking computer operating systems, a daemon is a computer program that runs as a background process, rather than being under the direct control of an user. Traditionally daemon names end with the letter d: for example, syslogd is the daemon that implements the system logging facility and sshd is a daemon that services incoming SSH connections.
In a Unix environment, the parent process of a daemon is often the init process. A daemon is usually either created by a process forking a child process and then immediately exiting, thus causing init to adopt the child process, or by the init process directly launching the daemon. Furthermore, a daemon launched by forking and exiting typically must perform other operations such as disengaging the process from any controlling terminal.
Such procedures are often implemented in various programs such as daemon in Unix.
Systems often start daemons at boot time and these daemons serve the function of responding to network requests and hardware activity performing some task. Daemons can also configure hardware, run scheduled tasks (like cron), and perform a variety of other tasks.