answersLogoWhite

0


Best Answer

Any process can be placed in the background by using the '&' at the end of the command, or by suspending the process and issuing the 'bg' command.

There really is no good way to 'measure' the accuracy of the 'sleep' command because it is not designed to be accurate; it depends on the state of the system and other things going on at the same time. It uses an approximate value to suspend the process but is not designed to be extremely accurate.

The value used in the sleep command is the number of seconds to suspend the process, which is subject to other processes running, possibly at a higher level than the current one. Since the process is probably not running at a real time level you wouldn't be able to check the acccuracy of the suspended time with any reliability.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: In unix put a long-running process in the background and check the accuracy of the sleep command?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Which command is used to create a sub processes?

For Unix, any command is run as a sub-process. You don't need an actual command to create the subprocess. You can also force the process to run in the background by appending a '&' symbol at the end of the command.


What does bg stands for in computer system?

BG is a command on Unix and Unix-like operating systems to run a job(process) asynchronously in the background.


What is a background process?

A background process is a process in computing which is not currently able to receive input from its controlling terminal.


What design process is used by an interior designer?

accuracy


How is background check done in Infosys?

Infosys typically conducts background checks by verifying a candidate's employment history, educational qualifications, criminal record, and other relevant information. This process helps ensure the accuracy of the information provided by the candidate and assess their suitability for the role. The background check is usually carried out by a third-party agency on behalf of Infosys.


What is the key supervisors task in the federal hiring process?

Ensuring the accuracy of the position description.


How many people should confirm the accuracy of facts and the validity of assumptions during the problem solving process?

If it is possible, at least two people should confirm the accuracy of facts and the validity of assumptions during the problem solving process. This helps ensure accuracy.


Will employee screening reduce turnover?

Studies by John Hunter, Ph.D., at Michigan State University, show that the interview is only 14% accurate in predicting a successful hire, that background- and reference-checking has 26% accuracy, that aptitude- and personality-testing has 53% accuracy, and that job-profiling increases the accuracy to 75%. Therefore, a hiring process that takes advantage of as many predictors as possible will greatly increase your hiring success.


What command deletes any process in Linux?

Processes aren't "deleted", they are "killed." The "kill" command, followed by the process ID number, should kill the process. Most distros also have a "killall" command, which will kill processes that have the name you specified.


When command is transferred?

process of moving the responsiblity for incident command from one individual to another.


Transfer of command refers to the?

Process of moving the responsibility for the incident command from on individual to another


Under the agreements Which is not a part of the unified command plan process?

establish host nation command