summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Dominic P. Guana <guana.histark@gmail.com>2021-04-20 08:00:09 +0000
committerRobert Roth <robert.roth.off@gmail.com>2021-04-23 09:48:11 +0000
commit572b195407ce3d8c78270b1fce6aa8e692b62ed8 (patch)
tree2b3c742e0a2891cbbc17d56311a0a09b9d34c6af
parentd8603f7692ebcc2b8ed00532b9978eac1e563c20 (diff)
downloadlibgtop-572b195407ce3d8c78270b1fce6aa8e692b62ed8.tar.gz
Make ndisk comment clear
-rw-r--r--glibtop.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/glibtop.h b/glibtop.h
index c196818c..352654f2 100644
--- a/glibtop.h
+++ b/glibtop.h
@@ -80,8 +80,8 @@ struct _glibtop
int socket; /* Accepted connection of a socket */
int ncpu; /* Number of CPUs, zero if single-processor */
int real_ncpu; /* Real number of CPUs. Only ncpu are monitored */
- int ndisk; /* Number of DISKs, zero if single-disk */
- int real_ndisk; /* Number of PHYSICAL DISKs. Only ncpu is monitored */
+ int ndisk; /* Number of DISKs, zero if single-disk. This pertains to disk volumes */
+ int real_ndisk; /* Number of PHYSICAL DISKs. Only ndisk is monitored for now */
unsigned long os_version_code; /* Version code of the operating system */
const char *name; /* Program name for error messages */
const char *server_command; /* Command used to invoke server */