Question: Write a program that uses pipes to read the aforementioned file and print the amount of free memory. MemTotal: MemFree: MemAvailable: Buffers: Cached: 65842316
Write a program that uses pipes to read the aforementioned file and print the amount of free memory. MemTotal: MemFree: MemAvailable: Buffers: Cached: 65842316 kB 20209480 kB 50164264 kB 1712312 kB 28720624 kB
Step by Step Solution
3.47 Rating (160 Votes )
There are 3 Steps involved in it
Python import subprocess Command to read the file command cat pathtoyourfiletxt Run th... View full answer
Get step-by-step solutions from verified subject matter experts
