In Progress

PROC /File system II

write a program called examps that has a man page shown in [url removed, login to view] examps as follows: you can modify the original program in the attachment. 1-Write a first version of examps that parses the command [url removed, login to view] the -s option given,examps sends a SIGSTOP to the process,prints a message to standard output ,and then sends a [url removed, login to view] -s is not given ,examps just print a message to standard output with process ID. 2-Implement the get_prstatus function 3-Implement the full examps program described in the man page in figure 5.1 NAME examps - examin a process SYNOPSIS examps [-s] pid DESCRIPTION the examps utility examines the /proc/pid file and outputs the following information to standard output. process ID, parent process ID, process group ID, session ID, process user cpu time, process system cpu time, scheduling class name, current instruction, names of the pending signals, current signal stsart of the heap size of the process heap in bytes start of stack size of process stack in bytes system call number (if in syscall) number of parametersto system call. the process must be owned by the user executing the [url removed, login to view] the - s option is given,the process is stopped and [url removed, login to view] the -s option is not given the process is not stopped and the values maybe modified while the read is taking place. OPTIONS -s send the SIDSTOP signal to the process before obtaining the trace information ,send SIGCONT when tracing information has been obtained. examples. the following examines the status of process 3421: examps 3421 process 3421 is not stopped by [url removed, login to view] may have been stopped by another source. FILES /proc see also proc(4)

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 3) Complete ownership and distribution copyrights to all work purchased.

## Platform


Skills: Engineering, Linux, MySQL, PHP, Software Architecture, Software Testing, UNIX

See more: command group, tracing, Signal and system, ProC, heap, full stack, trace stack, file system implement, command line print file, command line print, implement file system, send line message program, linux class, send signal, figure print, linux command line utility, full source code system, write linux command, output trace file, print utility, scheduling cpu, cpu time, implement cpu scheduling, write program cpu scheduling, system names

About the Employer:
( 73 reviews ) United States

Project ID: #2918471

Awarded to:


See private message.

$21.25 USD in 14 days
(4 Reviews)

2 freelancers are bidding on average $32 for this job


See private message.

$42.5 USD in 14 days
(7 Reviews)