Find Jobs
Hire Freelancers

Simulation of top command

$30-5000 USD

Completato
Pubblicato circa 21 anni fa

$30-5000 USD

Pagato al completamento
Use the /proc file system to simulate the command top on a Solaris machine. The information for each process is stored in /proc/PID/psinfo. You must read its entire contents as a type named psinfo_t for process information type. One of its fields that you must use is a type named lwpsinfo_t for light weight process information type. You need to include the library file named procfs.h. One of the fields of psinfo_t is pr_pctcpu which stores the percentage of the CPU time that the process has recently used. But the field stores a 16 bit binary fraction between 0 and 1 which requires conversion to a decimal percentage. Other fields may need conversion. You must use opendir() then readdir() rather than scandir(). You need not simulate the global part of top. The global part reports load average, totals for processes and CPU, memory and swap usage. ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Complete ownership and distribution copyrights to all work purchased. ## Platform Solaris SunOS 5.9
Rif. progetto: 2923316

Info sul progetto

1 proposta
Progetto a distanza
Attivo 21 anni fa

Hai voglia di guadagnare un po'?

I vantaggi delle offerte su Freelancer

Imposta il tuo budget e le scadenze
Fatti pagare per il lavoro svolto
Delinea la tua proposta
La registrazione e le offerte sui lavori sono gratuite
Assegnato a:
Avatar dell'utente
See private message.
$7,65 USD in 14 giorni
4,5 (15 valutazioni)
2,7
2,7

Info sul cliente

Bandiera: UNITED STATES
Ellendale, United States
5,0
28
Metodo di pagamento verificato
Membro dal giu 8, 2006

Verifica del cliente

Grazie! Ti abbiamo inviato tramite email il link per richiedere il tuo bonus gratuito.
Non è stato possibile inviarti l'email. Riprova per piacere.
di utenti registrati di lavori pubblicati
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Caricamento anteprima
Autorizzazione per la geolocalizzazione concessa.
La tua sessione è scaduta ed è stato effettuato il log out. Accedi nuovamente per piacere.