Find Jobs
Hire Freelancers

System Inspector

$30-250 USD

Cerrado
Publicado hace alrededor de 5 años

$30-250 USD

Pagado a la entrega
Our journey through the operating system starts in userland (user space), outside the kernel. In this project, we’ll implement a Unix utility that inspects the system it runs on and creates a summarized report for the user. If you’ve ever used the top command from a shell, our program will be somewhat similar. To give you an idea of how your program will work, here’s a quick example: [magical-unicorn:~/P1-malensek]$ ./inspector System Information ------------------ Hostname: magical-unicorn Kernel Version: 4.20.3-arch1-1-ARCH Uptime: 32 minutes, 35 seconds Hardware Information -------------------- CPU Model: AMD EPYC Processor (with IBPB) Processing Units: 2 Load Average (1/5/15 min): 0.15 0.06 0.01 CPU Usage: [##########----------] 50.3% Memory Usage: [--------------------] 4.6% (0.0 GB / 1.0 GB) Task Information ---------------- Tasks running: 88 Since boot: Interrupts: 44349 Context Switches: 88340 Forks: 421 PID | State | Task Name | User | Tasks ------+--------------+---------------------------+-----------------+------- 1 | sleeping | systemd | root | 1 2 | sleeping | kthreadd | root | 1 3 | idle | rcu_gp | root | 1 4 | idle | rcu_par_gp | root | 1 (the entire list of processes is printed -- truncated for brevity) To get this information, you will use the proc, the process information pseudo-filesystem. While there are other ways to get the information displayed above, you are restricted to using proc in this assignment. There are two great resources for finding out what information is available in proc: Simply cd /proc in your shell and then run ls to view the files. You’ll see process IDs and several other virtual files that are updated dynamically with system information. Each line shown above in the process listing corresponds to a numbered directory in /proc. Check out the man page: man proc. The manual has a complete description of every file and directory stored under /proc. For a quick example, try running cat /proc/uptime. You’ll see the number of seconds the system has been running printed to the terminal. In this assignment, you will get experience working with: The open(), read(), and close() system calls for reading file data Tokenizing text files opendir and readdir functions for listing directory contents stat for getting file information getpwuid() to map user IDs to user names Argument parsing with getopt Load averages, calculating CPU usage, and Linux tasks Each portion of the display can be toggled with command line options. We’ll let the program do the talking by printing usage information (-h option): [magical-unicorn:~/P1-malensek]$ ./inspector -h Usage: ./inspector [-ahlrst] [-p procfs_dir] Options: * -a Display all (equivalent to -lrst, default) * -h Help/usage information * -l Task List * -p procfs_dir Change the expected procfs mount point (default: /proc) * -r Hardware Information * -s System Information * -t Task Information So the task list, hardware information, system information, and task information can all be turned on/off with the command line options. By default, all of them are displayed. Pay particular attention to the -p flag. This allows us to change the directory where proc is mounted (/proc by default). We will use this option to test your code with our own pre-populated copy of proc.
ID del proyecto: 18799922

Información sobre el proyecto

8 propuestas
Proyecto remoto
Activo hace 5 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
8 freelancers están ofertando un promedio de $104 USD por este trabajo
Avatar del usuario
C and Linux are my top level skills. Can do your project for a couple of hours. Can start wokring immediately.
$80 USD en 1 día
4,9 (602 comentarios)
7,6
7,6
Avatar del usuario
I am very proficient in c and c++. I have 16 years c++ developing experience now, and have worked for more than 7 years. My work is online game developing, and mainly focus on server side, using c++ under Linux environment. I made many great projects using c++, for example, I made the tools which could convert java codes into c++ scripts, of course garbage collection included, this was very similar to a compiler, and was very complex. I also made our own mobile game using c++, I can show you the demo of client, if you like. I am very proficient in java also. I have a very good review on Freelancer.com, I never miss a project once I accept the job, you can check my review. Trust me, please let expert help you.
$80 USD en 1 día
4,9 (158 comentarios)
7,1
7,1
Avatar del usuario
I have experience in deploying and maintaining of: Cloud Computing Platforms: AWS Amazon Web Services,Microsoft AZURE, Google Cloud (GCP). Server Operating Systems: Windows Server 2003-to-2012R2, Windows Server 2016 Amazon Linux, Debian, RHEL, CentOS, Ubuntu. Web servers and servlets containers: IIS, APACHE, NGINX, DOCKER Mail servers: POSTFIX, EXIM, MS Exchange 2000-to-2013, MS Exchange 2016, QMAIL Database servers: MySQL, MS SQL Virtualization: MS Hyper-V, VMware Server(ESXI), VirtualBox. Directory service: Active Directory, OpenLDAP. File servers: IIS FTP, proftpd, FileZilla FTP Server, SAMBA. Firewalls: Windows firewall,ISA/Forefront TMG, MikroTik,PFSense Zywall and other Routers; Data Storage Systems: Netapp, FAS, EMC, VNX; Hosting Panels: PLESK,cPanel,Website Panel
$100 USD en 0 día
4,9 (304 comentarios)
6,7
6,7
Avatar del usuario
Hello. Thank you for such a good description of your task. I have a lot of experience working in C on Linux. Since you have provided such a good specification, I know that I can deliver you precisely what you need. I look forward to hearing from you.
$45 USD en 1 día
5,0 (2 comentarios)
2,4
2,4
Avatar del usuario
Hello, I'm really intersseted by your proposal, whatever you do (choosing other bidder) I'll work on it, cause I saw a challange inside it. Best regards, Mouad OURGH
$111 USD en 3 días
5,0 (1 comentario)
1,2
1,2
Avatar del usuario
we are computer sciense master students and 2 of us are data structure and algorithms teacher and we are international computer science algorithm tournoment winners and can do your project easily and walk you through the code so you can know how it is done if you want .
$200 USD en 3 días
5,0 (1 comentario)
0,5
0,5
Avatar del usuario
I have been working in a reputed IT company for last 4 years. I have experience in c and c++. I used the commands in our daily routine. i can will meet the project requirements
$166 USD en 10 días
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de UNITED STATES
San Francisco, United States
0,0
0
Miembro desde feb 24, 2019

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.