Skip to content

Commit 2e3ad6c

Browse files
committed
vmstat: add header and modify readme
1 parent 898d6cf commit 2e3ad6c

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ Ongoing:
2525
* `sysctl`: Read or write kernel parameters at run-time.
2626
* `tload`: Prints a graphical representation of system load average to the terminal.
2727
* `top`: Displays real-time information about system processes.
28+
* `vmstat`: Reports information about processes, memory, paging, block IO, traps, and CPU activity.
2829
* `w`: Shows who is logged on and what they are doing.
2930
* `watch`: Executes a program periodically, showing output fullscreen.
3031

3132
TODO:
3233
* `hugetop`: Report hugepage usage of processes and the system as a whole.
3334
* `skill`: Sends a signal to processes based on criteria like user, terminal, etc.
34-
* `vmstat`: Reports information about processes, memory, paging, block IO, traps, and CPU activity.
3535

3636
Elsewhere:
3737

src/uu/vmstat/src/parser.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
// This file is part of the uutils procps package.
2+
//
3+
// For the full copyright and license information, please view the LICENSE
4+
// file that was distributed with this source code.
5+
16
#[cfg(target_os = "linux")]
27
pub fn parse_proc_file(path: &str) -> std::collections::HashMap<String, String> {
38
let file = std::fs::File::open(std::path::Path::new(path)).unwrap();

0 commit comments

Comments
 (0)