this needs to work fully or you agree to refund if i have issues you will need to be avalible or you agree to refund
Objectives of this Lab:
How to proceed with the Program:
Where to look for information in (/proc) directory ?
Search the (/proc ) directory and its sub-directories for the files which contain information required for this lab. You can refer to the online manual for more information on proc (man proc). For example, you can type the following in the command line
to find the hostname of the machine.
Exercise : Write a program in C or C++ or Java to display the following information.
1. General information.
In this section you will assemble some basic facts about the system
2. Time information.
In this section you will print out how long the system has been up and how busy it has been.
a. Duration of uptime # get these information from /proc/uptime
b. Duration of idletime
The skeleton of the program
(1) read file “/proc/uptime” to obtain Totaltime and Idletime
(2) read file “/proc/sys/kernel/hostname” to obtain the hostname
(3) read file “/proc/version” to obtain the kernel version
(4) read file “/proc/meminfo” to obtain the amount of used memory and free memory
(5) read file “/proc/driver/rtc” to obtain time and date
Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.Read more
Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.Read more
Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.Read more
Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.Read more
By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.Read more