| 1 |
commit 5e853bba484d22620e8b6f97bf329da3075070b5 |
| 2 |
Author: Gerlof Langeveld <[email protected]> |
| 3 |
Date: Sat Jul 18 12:54:39 2026 +0200 |
| 4 |
|
| 5 |
Define explicit value for _POSIX_C_SOURCE macro |
| 6 |
|
| 7 |
Certain compilers expect an explicit value for the _POSIX_C_SOURCE |
| 8 |
macro. It has been explicitly defined now as 200809L which is also |
| 9 |
the default value whenever it is not explicitly defined. |
| 10 |
|
| 11 |
M atop.c |
| 12 |
M atopacctd.c |
| 13 |
M atopcat.c |
| 14 |
M atophide.c |
| 15 |
M atopsar.c |
| 16 |
M cgroups.c |
| 17 |
M drawbar.c |
| 18 |
M gpucom.c |
| 19 |
M netatopif.c |
| 20 |
M photoproc.c |
| 21 |
M photosyst.c |
| 22 |
M rawlog.c |
| 23 |
M showgeneric.c |
| 24 |
M various.c |
| 25 |
|
| 26 |
commit 3bd8153005418d902fd1ccf3404d428d54b3e156 |
| 27 |
Author: Gerlof Langeveld <[email protected]> |
| 28 |
Date: Fri Jul 10 18:40:21 2026 +0200 |
| 29 |
|
| 30 |
Increase shadowpath to avoid compiler warnings (#406) |
| 31 |
|
| 32 |
M acctproc.c |
| 33 |
|
| 34 |
commit 561cb832bfa272e65be6ae94798f48eb2a653712 |
| 35 |
Merge: b800dd4 9afdf5b |
| 36 |
Author: Gerlof Langeveld <[email protected]> |
| 37 |
Date: Fri Jul 10 18:16:23 2026 +0200 |
| 38 |
|
| 39 |
Merge pull request #404 from GermanAizek/parseable-fix-format |
| 40 |
|
| 41 |
parseable: fix incorrect format 'total' (count_t is long long) |
| 42 |
|
| 43 |
commit b800dd471b699e237f38479afd984f06830cd2bd |
| 44 |
Merge: 5e64e80 0eab992 |
| 45 |
Author: Gerlof Langeveld <[email protected]> |
| 46 |
Date: Fri Jul 10 18:13:53 2026 +0200 |
| 47 |
|
| 48 |
Merge pull request #403 from GermanAizek/check-on-null-readrc |
| 49 |
|
| 50 |
readrc does not handle if file cannot be opened and fp NULL goes to fgets() |
| 51 |
|
| 52 |
commit 5e64e80278447a9840a6e7d745490e2123fb1153 |
| 53 |
Merge: 45cd0a9 d6a90e9 |
| 54 |
Author: Gerlof Langeveld <[email protected]> |
| 55 |
Date: Fri Jul 10 17:58:54 2026 +0200 |
| 56 |
|
| 57 |
Merge pull request #402 from GermanAizek/fix-format-types-sscanf |
| 58 |
|
| 59 |
photosyst: fix incorrect format types for sscanf |
| 60 |
|
| 61 |
commit 45cd0a90e478977b1d612d03256d0c9af09c8e3f |
| 62 |
Merge: d4bdbad 8f95c1a |
| 63 |
Author: Gerlof Langeveld <[email protected]> |
| 64 |
Date: Fri Jul 10 17:35:36 2026 +0200 |
| 65 |
|
| 66 |
Merge pull request #401 from GermanAizek/fix-forgot-15size-limit |
| 67 |
|
| 68 |
photosyst: fix forgetten limit 15 size for all strings sscanf |
| 69 |
|
| 70 |
commit d4bdbad9c086926bd25f61a3bca4199f88407e40 |
| 71 |
Merge: 368ffdd 8067733 |
| 72 |
Author: Gerlof Langeveld <[email protected]> |
| 73 |
Date: Fri Jul 10 17:29:46 2026 +0200 |
| 74 |
|
| 75 |
Merge pull request #400 from GermanAizek/photosyst-limit-64size-str-format |
| 76 |
|
| 77 |
photosyst: prevent buffer overflow limit format 64 bytes |
| 78 |
|
| 79 |
commit 368ffdd652570dcec227e68e8e745d421c7f8092 |
| 80 |
Merge: 5e74212 969e82a |
| 81 |
Author: Gerlof Langeveld <[email protected]> |
| 82 |
Date: Fri Jul 10 17:27:22 2026 +0200 |
| 83 |
|
| 84 |
Merge pull request #399 from GermanAizek/cgroups-fix-psiformat |
| 85 |
|
| 86 |
cgroups: fix format size some/full (count_t is long long) |
| 87 |
|
| 88 |
commit 5e74212ad1061fe4a77cdd1e07066e741b603bd7 |
| 89 |
Merge: e825231 aec57b4 |
| 90 |
Author: Gerlof Langeveld <[email protected]> |
| 91 |
Date: Fri Jul 10 17:25:34 2026 +0200 |
| 92 |
|
| 93 |
Merge pull request #398 from GermanAizek/fix_strformat_sizes |
| 94 |
|
| 95 |
photosyst: fix incorrect format size fscanf (count_t is long long) |
| 96 |
|
| 97 |
commit e8252318e2039367740c3fb409f91cbd4b9ec4db |
| 98 |
Merge: d6e4feb eba412d |
| 99 |
Author: Gerlof Langeveld <[email protected]> |
| 100 |
Date: Fri Jul 10 17:21:34 2026 +0200 |
| 101 |
|
| 102 |
Merge pull request #397 from GermanAizek/prevent-buffer-overflow-photosyst |
| 103 |
|
| 104 |
photosyst: prevent buffer overflow name only 64 length |
| 105 |
|
| 106 |
commit d6e4febad8a9117dde01f558e634c0c5b71b687d |
| 107 |
Author: Gerlof Langeveld <[email protected]> |
| 108 |
Date: Fri Jul 10 16:56:34 2026 +0200 |
| 109 |
|
| 110 |
Verify pointer after malloc (#395) |
| 111 |
|
| 112 |
M photosyst.c |
| 113 |
|
| 114 |
commit acce432eea458e85238c97c4e392aea92097e57c |
| 115 |
Author: Gerlof Langeveld <[email protected]> |
| 116 |
Date: Fri Jul 10 16:43:39 2026 +0200 |
| 117 |
|
| 118 |
Add reference to Atop Viewer desktop GUI |
| 119 |
|
| 120 |
M README.md |
| 121 |
|
| 122 |
commit 8ec9500e85fb7727e209de7e6328c47129a47aa5 |
| 123 |
Author: Gerlof Langeveld <[email protected]> |
| 124 |
Date: Fri Jul 10 16:24:39 2026 +0200 |
| 125 |
|
| 126 |
Proper handling of flags -r and -t with optional arg |
| 127 |
|
| 128 |
M atop.c |
| 129 |
|
| 130 |
commit 12bd953c4bc0edc35ded59f5452720ff74fb3753 |
| 131 |
Author: Gerlof Langeveld <[email protected]> |
| 132 |
Date: Fri Jul 10 14:20:51 2026 +0200 |
| 133 |
|
| 134 |
Adapt atopconvert for new release |
| 135 |
|
| 136 |
M atopconvert.c |
| 137 |
A prev/cgroups_213.h |
| 138 |
M prev/photoproc_200.h |
| 139 |
M prev/photoproc_201.h |
| 140 |
M prev/photoproc_202.h |
| 141 |
M prev/photoproc_203.h |
| 142 |
M prev/photoproc_204.h |
| 143 |
M prev/photoproc_205.h |
| 144 |
M prev/photoproc_206.h |
| 145 |
M prev/photoproc_207.h |
| 146 |
M prev/photoproc_208.h |
| 147 |
M prev/photoproc_209.h |
| 148 |
M prev/photoproc_210.h |
| 149 |
M prev/photoproc_211.h |
| 150 |
M prev/photoproc_212.h |
| 151 |
A prev/photoproc_213.h |
| 152 |
A prev/photosyst_213.h |
| 153 |
|
| 154 |
commit 9afdf5bae0ace7a6aeef2b2b2a1cb090417902bc |
| 155 |
Author: Herman Semenoff <[email protected]> |
| 156 |
Date: Fri Jul 3 01:27:49 2026 +0300 |
| 157 |
|
| 158 |
parseable: fix incorrect format 'total' (count_t is long long) |
| 159 |
|
| 160 |
M parseable.c |
| 161 |
|
| 162 |
commit 0eab992f88bcef2b91a119fcd5c3497ae345af43 |
| 163 |
Author: Herman Semenoff <[email protected]> |
| 164 |
Date: Thu Jul 2 16:41:05 2026 +0300 |
| 165 |
|
| 166 |
atop: readrc does not handle if file cannot be opened and fp NULL goes to fgets() |
| 167 |
|
| 168 |
M atop.c |
| 169 |
|
| 170 |
commit d6a90e927115eecfa1816b2e3eca6b688416e841 |
| 171 |
Author: Herman Semenoff <[email protected]> |
| 172 |
Date: Thu Jul 2 01:58:57 2026 +0300 |
| 173 |
|
| 174 |
photosyst: fix incorrect format types for sscanf |
| 175 |
|
| 176 |
- major/minor -> unsigned int |
| 177 |
- l3_cache_size -> int |
| 178 |
- llc->id -> unsigned char |
| 179 |
- ibc->lanes -> unsigned short |
| 180 |
|
| 181 |
M photosyst.c |
| 182 |
|
| 183 |
commit 8f95c1abc576748eeeabd7e56a2e3f6623dc7478 |
| 184 |
Author: Herman Semenoff <[email protected]> |
| 185 |
Date: Thu Jul 2 01:52:24 2026 +0300 |
| 186 |
|
| 187 |
photosyst: fix forgetten limit 15 size for all strings sscanf |
| 188 |
|
| 189 |
M photosyst.c |
| 190 |
|
| 191 |
commit 806773357d2a1d0041166af4d2e2f9536d9c0bfc |
| 192 |
Author: Herman Semenoff <[email protected]> |
| 193 |
Date: Thu Jul 2 01:47:54 2026 +0300 |
| 194 |
|
| 195 |
photosyst: prevent buffer overflow limit format 64 bytes |
| 196 |
|
| 197 |
tmp and nam have 64 size |
| 198 |
|
| 199 |
M photosyst.c |
| 200 |
|
| 201 |
commit 969e82a52f3e2615c7a0695c1d2f38f0d9f5999e |
| 202 |
Author: Herman Semenoff <[email protected]> |
| 203 |
Date: Thu Jul 2 01:05:58 2026 +0300 |
| 204 |
|
| 205 |
cgroups: fix format size some/full (count_t is long long) |
| 206 |
|
| 207 |
M cgroups.c |
| 208 |
|
| 209 |
commit aec57b43f7b4f9d98820d2c14095aaae316bff1e |
| 210 |
Author: Herman Semenoff <[email protected]> |
| 211 |
Date: Thu Jul 2 00:51:38 2026 +0300 |
| 212 |
|
| 213 |
photosyst: fix incorrect format size fscanf (count_t is long long) |
| 214 |
|
| 215 |
M photosyst.c |
| 216 |
|
| 217 |
commit eba412d784e8fe0114a2a58d60fa3e175f8b3329 |
| 218 |
Author: Herman Semenoff <[email protected]> |
| 219 |
Date: Thu Jul 2 00:46:23 2026 +0300 |
| 220 |
|
| 221 |
photosyst: prevent buffer overflow name only 64 length |
| 222 |
|
| 223 |
'nam' is a char array of size 64. The sscanf format string "%s" maybe to be changed to "%63s" to prevent a buffer overflow. |
| 224 |
|
| 225 |
M photosyst.c |
| 226 |
|
| 227 |
commit 86a9d5d07371583d01e281885a6e7e2b41ac2104 |
| 228 |
Author: Gerlof Langeveld <[email protected]> |
| 229 |
Date: Sun May 31 21:52:02 2026 +0200 |
| 230 |
|
| 231 |
Removed debug statements |
| 232 |
|
| 233 |
M photosyst.c |
| 234 |
|
| 235 |
commit f598d155e5829679c4f237e7372c6aa08c791cff |
| 236 |
Author: Gerlof Langeveld <[email protected]> |
| 237 |
Date: Sun May 31 21:49:30 2026 +0200 |
| 238 |
|
| 239 |
Improved detection of modified CPU states |
| 240 |
|
| 241 |
M photosyst.c |
| 242 |
M photosyst.h |
| 243 |
|
| 244 |
commit 3e08f4393b522e44a3fa5201e0b3f6147de056dc |
| 245 |
Author: Gerlof Langeveld <[email protected]> |
| 246 |
Date: Sun May 31 21:06:00 2026 +0200 |
| 247 |
|
| 248 |
Only produce parsable GPU output if supported |
| 249 |
|
| 250 |
M parseable.c |
| 251 |
|
| 252 |
commit 63d635645bb6b515a0a0ca6033308e424a6df60b |
| 253 |
Author: Gerlof Langeveld <[email protected]> |
| 254 |
Date: Sun May 31 15:04:42 2026 +0200 |
| 255 |
|
| 256 |
Added sorting direction for processes |
| 257 |
|
| 258 |
M atopsar.c |
| 259 |
|
| 260 |
commit 3ce5e6ef3c10db5e8b294b27a375fe327b37be15 |
| 261 |
Author: Gerlof Langeveld <[email protected]> |
| 262 |
Date: Sat May 30 15:49:28 2026 +0200 |
| 263 |
|
| 264 |
Improved handling of online CPU detection |
| 265 |
|
| 266 |
M photosyst.c |
| 267 |
M photosyst.h |
| 268 |
|
| 269 |
commit d19cc1df0717c88fe9c421ce3d80be74c47677ee |
| 270 |
Merge: 657cbc3 80dbf3c |
| 271 |
Author: Gerlof Langeveld <[email protected]> |
| 272 |
Date: Sat May 30 12:28:33 2026 +0200 |
| 273 |
|
| 274 |
Merge branch 'GermanAizek-tcc-compiler' |
| 275 |
|
| 276 |
commit 80dbf3c6ac22e417d00382a3bc5e676bed70ef23 |
| 277 |
Author: Gerlof Langeveld <[email protected]> |
| 278 |
Date: Sat May 30 12:26:21 2026 +0200 |
| 279 |
|
| 280 |
Remove regex.h |
| 281 |
|
| 282 |
D regex.h |
| 283 |
|
| 284 |
commit eb82872f21d8bf88281b1b5dbe1bd24c1f41047c |
| 285 |
Merge: 657cbc3 1761936 |
| 286 |
Author: Gerlof Langeveld <[email protected]> |
| 287 |
Date: Sat May 30 12:24:22 2026 +0200 |
| 288 |
|
| 289 |
Changed STROFFSET into offsetof (GermanAizek) |
| 290 |
|
| 291 |
commit 657cbc3221bce8ad7bb021496eb0913210620d94 |
| 292 |
Author: Gerlof Langeveld <[email protected]> |
| 293 |
Date: Tue May 26 21:20:57 2026 +0200 |
| 294 |
|
| 295 |
Support for oom_score and oom_score_adj values |
| 296 |
|
| 297 |
M deviate.c |
| 298 |
M man/atop.1 |
| 299 |
M photoproc.c |
| 300 |
M photoproc.h |
| 301 |
M showlinux.c |
| 302 |
M showlinux.h |
| 303 |
M showprocs.c |
| 304 |
|
| 305 |
commit 72e6bebc01d912d01e01749e99a7673f72dec5cd |
| 306 |
Author: Gerlof Langeveld <[email protected]> |
| 307 |
Date: Fri May 8 13:52:08 2026 +0200 |
| 308 |
|
| 309 |
Consistent use of safe_strcpy() for entire program |
| 310 |
|
| 311 |
M atopconvert.c |
| 312 |
M atopsar.c |
| 313 |
M cgroups.c |
| 314 |
M drawbar.c |
| 315 |
M photoproc.c |
| 316 |
M photosyst.c |
| 317 |
M rawlog.c |
| 318 |
M showgeneric.c |
| 319 |
M showlinux.c |
| 320 |
M showprocs.c |
| 321 |
M showsys.c |
| 322 |
|
| 323 |
commit 7163e5ffe0226a318f2a92e5a9d9fa62b8114d89 |
| 324 |
Author: Gerlof Langeveld <[email protected]> |
| 325 |
Date: Fri May 8 11:49:16 2026 +0200 |
| 326 |
|
| 327 |
Solve race condition with cgroup PID list (#376) |
| 328 |
|
| 329 |
When gathering the PIDs assigned to a cgroup, first the number |
| 330 |
of PIDs are counted in a separate loop to be able to malloc |
| 331 |
the PID list. The overflow check for this PID list was not properly |
| 332 |
implemented when filling the list afterwards. |
| 333 |
|
| 334 |
M cgroups.c |
| 335 |
|
| 336 |
commit 5e913dbdb4aa7026bcb2c7653f201861c8d021d1 |
| 337 |
Author: Gerlof Langeveld <[email protected]> |
| 338 |
Date: Sat May 2 12:53:30 2026 +0200 |
| 339 |
|
| 340 |
Safer string copies |
| 341 |
|
| 342 |
M gpucom.c |
| 343 |
M netatopbpfif.c |
| 344 |
M parseable.c |
| 345 |
M showlinux.c |
| 346 |
M showprocs.c |
| 347 |
|
| 348 |
commit a541b254f39ac660e4590e9e0a12321be0be2d25 |
| 349 |
Merge: 527e099 3dde98c |
| 350 |
Author: Gerlof Langeveld <[email protected]> |
| 351 |
Date: Sat May 2 11:40:03 2026 +0200 |
| 352 |
|
| 353 |
Merge pull request #367 from GermanAizek/utsnode-origname-safestrcpy |
| 354 |
|
| 355 |
atophide: replace to safe_strcpy for premature attention and safety |
| 356 |
|
| 357 |
commit 527e099e0c8befffd353fda663dab21bf6235a9b |
| 358 |
Merge: ec1a86c ad8ac1f |
| 359 |
Author: Gerlof Langeveld <[email protected]> |
| 360 |
Date: Sat May 2 11:28:11 2026 +0200 |
| 361 |
|
| 362 |
Merge pull request #362 from GermanAizek/uidgid-safestrcpy |
| 363 |
|
| 364 |
various: use safe_strcpy() for premature attention and safety |
| 365 |
|
| 366 |
commit ec1a86c03ae27353c6f4e2c88dd9d3bdcebeaac3 |
| 367 |
Merge: 6aad0ef ccfa335 |
| 368 |
Author: Gerlof Langeveld <[email protected]> |
| 369 |
Date: Sat May 2 11:25:52 2026 +0200 |
| 370 |
|
| 371 |
Merge pull request #369 from GermanAizek/deviat-safestrcpy |
| 372 |
|
| 373 |
deviate: replace to safe_strcpy for premature attention and safety |
| 374 |
|
| 375 |
commit 6aad0ef39318fe522a0f121a0a3685bb6d650076 |
| 376 |
Merge: e241e12 ff684ee |
| 377 |
Author: Gerlof Langeveld <[email protected]> |
| 378 |
Date: Sat May 2 11:23:32 2026 +0200 |
| 379 |
|
| 380 |
Merge pull request #363 from GermanAizek/pacctdir-safestrcpy |
| 381 |
|
| 382 |
acctproc: use safe_strcpy() for premature attention and safety |
| 383 |
|
| 384 |
commit e241e127821e55e5251cabc928e40f5f48a85277 |
| 385 |
Merge: f3a6c35 57dbad9 |
| 386 |
Author: Gerlof Langeveld <[email protected]> |
| 387 |
Date: Sat May 2 11:21:11 2026 +0200 |
| 388 |
|
| 389 |
Merge pull request #361 from GermanAizek/stdin-safestrcpy |
| 390 |
|
| 391 |
atop: use safe_strcpy() for premature attention and safety |
| 392 |
|
| 393 |
commit 1761936fca9471d62623363c87fb35363be1c9b2 |
| 394 |
Author: Herman Semenoff <[email protected]> |
| 395 |
Date: Sat May 2 07:47:03 2026 +0300 |
| 396 |
|
| 397 |
Fix building atop for TCC compiler and others C compilers |
| 398 |
|
| 399 |
Clang, GCC, TCC, TDM-GCC successful building. |
| 400 |
|
| 401 |
My experiments on 2 CPUs Xeon E5-2699v3 (72 threads): |
| 402 |
I am surprised by the compilation speed on TCC, as well as the resource consumption on monitoring |
| 403 |
- TCC 1s compilation |
| 404 |
- Clang 5s compilation |
| 405 |
- GCC 6s compialtion |
| 406 |
|
| 407 |
Wiki: https://en.wikipedia.org/wiki/Tiny_C_Compiler |
| 408 |
Official site: https://bellard.org/tcc/ |
| 409 |
|
| 410 |
M atopconvert.c |
| 411 |
A regex.h |
| 412 |
|
| 413 |
commit f3a6c35d4996075cc70b90f7475d51ae64245dc1 |
| 414 |
Author: Gerlof Langeveld <[email protected]> |
| 415 |
Date: Sat Apr 18 12:34:06 2026 +0200 |
| 416 |
|
| 417 |
Show available memory per category in bar graph |
| 418 |
|
| 419 |
A vertical green line at the left of the memory column shows the |
| 420 |
available (i.e. reclaimable) memory for the categories 'free', |
| 421 |
'pagecache' and 'slab' in bar graph mode. This is a best-effort |
| 422 |
categorized breakdown of the available memory value on system level. |
| 423 |
|
| 424 |
M deviate.c |
| 425 |
M drawbar.c |
| 426 |
M man/atop.1 |
| 427 |
M photosyst.c |
| 428 |
M photosyst.h |
| 429 |
M showgeneric.c |
| 430 |
M showgeneric.h |
| 431 |
|
| 432 |
commit ccb0e46906cbf398c6224012434243fc51d7c029 |
| 433 |
Merge: 37b3c5e 59d827f |
| 434 |
Author: Gerlof Langeveld <[email protected]> |
| 435 |
Date: Sat Apr 11 13:17:56 2026 +0200 |
| 436 |
|
| 437 |
Merge pull request #371 from pizhenwei/ib-fix |
| 438 |
|
| 439 |
Extend MAXIBNAME to 20 |
| 440 |
|
| 441 |
commit 37b3c5e0af913bb37ac967507965fce576946993 |
| 442 |
Author: Gerlof Langeveld <[email protected]> |
| 443 |
Date: Sat Apr 11 13:01:25 2026 +0200 |
| 444 |
|
| 445 |
Proper NUMA cpumap analysis for > 512 CPUs (#372) |
| 446 |
|
| 447 |
On systems with more than 512 CPUs the parsing of the cpumap failed. |
| 448 |
The modified implementation uses the MAXCPU definition instead of the |
| 449 |
separate CPUMASK_SZ definition. |
| 450 |
Apart from this change, long long variables are consistently used for |
| 451 |
the CPU bitmap. |
| 452 |
|
| 453 |
M photosyst.c |
| 454 |
M photosyst.h |
| 455 |
|
| 456 |
commit 818f5f26372063823fd6bf9fbbd3b491ecb13dba |
| 457 |
Author: Gerlof Langeveld <[email protected]> |
| 458 |
Date: Fri Apr 10 22:35:19 2026 +0200 |
| 459 |
|
| 460 |
Modified text related to change of sort column |
| 461 |
|
| 462 |
M showgeneric.c |
| 463 |
|
| 464 |
commit 04a904f92e0d62388dc3dc2594e6a364a5ce42cd |
| 465 |
Author: Gerlof Langeveld <[email protected]> |
| 466 |
Date: Thu Mar 26 11:31:23 2026 +0100 |
| 467 |
|
| 468 |
Update man page for enabling/disabling CPUs |
| 469 |
|
| 470 |
M man/atop.1 |
| 471 |
|
| 472 |
commit 284e222635f958f5c7d8ec5b3dd3dc089fa25864 |
| 473 |
Author: Gerlof Langeveld <[email protected]> |
| 474 |
Date: Thu Mar 26 09:31:55 2026 +0100 |
| 475 |
|
| 476 |
Improved detection for changes in CPU config |
| 477 |
|
| 478 |
When CPUs have been enabled/disabled during an interval, |
| 479 |
the perfevent file descriptors (two for each online CPU) have to |
| 480 |
be closed and reopened. The detection to determine if this is |
| 481 |
necessary has been improved by checking the number of online CPUs |
| 482 |
and a checksum that specifies which CPUs. |
| 483 |
|
| 484 |
M photosyst.c |
| 485 |
M photosyst.h |
| 486 |
|
| 487 |
commit 59d827f513e8be4040c48cd77fa74eced8e6865d |
| 488 |
Author: zhenwei pi <[email protected]> |
| 489 |
Date: Thu Mar 26 07:18:09 2026 +0800 |
| 490 |
|
| 491 |
Extend MAXIBNAME to 20 |
| 492 |
|
| 493 |
The IB device name may exceeds original 12 bytes, for example a RXE |
| 494 |
device: rxe_enp161s0np0 (16 bytes with null terminated) |
| 495 |
then atop will read the truncated path: |
| 496 |
/sys/class/infiniband/rxe_enp161s/ports/1/rate |
| 497 |
|
| 498 |
however the correct path is: |
| 499 |
/sys/class/infiniband/rxe_enp161s0np0/ports/1/rate |
| 500 |
|
| 501 |
So atop fails to get the real rate, and set rate field to 0. |
| 502 |
Commit 19e7bbec("Avoid divide by zero when InfiniBand rate is 0") |
| 503 |
fixed the bottom part of *using* rate, and this change fixes the top |
| 504 |
part of *collecting* rate. |
| 505 |
|
| 506 |
Signed-off-by: zhenwei pi <[email protected]> |
| 507 |
|
| 508 |
M photosyst.h |
| 509 |
|
| 510 |
commit 36f28ded51857250c44f9c5fa079f244712805d2 |
| 511 |
Author: Gerlof Langeveld <[email protected]> |
| 512 |
Date: Wed Mar 25 16:47:23 2026 +0100 |
| 513 |
|
| 514 |
Properly handle offline CPUs (solves #261) |
| 515 |
|
| 516 |
Switching CPUs offline/online is properly handled now, as well |
| 517 |
as adding hotpluggable CPUs. A CPU dissapears from the list |
| 518 |
or bar graph when disabling the CPU and appears again when |
| 519 |
enabling the CPU. |
| 520 |
|
| 521 |
The average CPU figures show mainly idle time whenever a |
| 522 |
CPU has been enabled/disabled during the interval, because |
| 523 |
the kernel modifies the overall idle/wait ticks in that case. |
| 524 |
|
| 525 |
The maximum number of CPUs is raised from 2048 to 4096. |
| 526 |
|
| 527 |
M atopsar.c |
| 528 |
M cgroups.c |
| 529 |
M deviate.c |
| 530 |
M drawbar.c |
| 531 |
M json.c |
| 532 |
M parseable.c |
| 533 |
M photosyst.c |
| 534 |
M photosyst.h |
| 535 |
M showgeneric.c |
| 536 |
M showlinux.c |
| 537 |
M showsys.c |
| 538 |
|
| 539 |
commit 2bf4a4b5b2a6f937dc14853d5652c5000d6236c1 |
| 540 |
Author: Gerlof Langeveld <[email protected]> |
| 541 |
Date: Tue Mar 24 15:05:59 2026 +0100 |
| 542 |
|
| 543 |
Typo in man page for "nwrit": read() --> write() |
| 544 |
|
| 545 |
M man/atop.1 |
| 546 |
|
| 547 |
commit 23c161d10521fe9be542c2681b2d245a4d77ee5a |
| 548 |
Author: Gerlof Langeveld <[email protected]> |
| 549 |
Date: Fri Mar 13 12:11:30 2026 +0100 |
| 550 |
|
| 551 |
Improved description of cgroup memory utilization in man page |
| 552 |
|
| 553 |
M man/atop.1 |
| 554 |
|
| 555 |
commit e6efd2758fede0007bf54637ea897a7940979dda |
| 556 |
Author: Gerlof Langeveld <[email protected]> |
| 557 |
Date: Sat Feb 21 11:26:09 2026 +0100 |
| 558 |
|
| 559 |
Increase precision of CPU frequency (solves #353) |
| 560 |
|
| 561 |
Frequency values that are smaller than 10GHz (was before: 1GHz) will |
| 562 |
still be expressed in MHz in order to increase the precision by saving a |
| 563 |
position for the decimal point. |
| 564 |
|
| 565 |
M man/atop.1 |
| 566 |
M various.c |
| 567 |
|
| 568 |
commit ccfa335d523ea1baea9904bd3a06aec3de4c68ab |
| 569 |
Author: Herman Semenoff <[email protected]> |
| 570 |
Date: Mon Feb 9 01:50:34 2026 +0300 |
| 571 |
|
| 572 |
deviate: replace to safe_strcpy for premature attention and safety |
| 573 |
|
| 574 |
This change will help developers pay attention in the future if `deviat` buffers and code associated with it are changed |
| 575 |
|
| 576 |
M deviate.c |
| 577 |
|
| 578 |
commit 3dde98c830af001dcd65257bdf193d313d33daa1 |
| 579 |
Author: Herman Semenoff <[email protected]> |
| 580 |
Date: Mon Feb 9 01:42:32 2026 +0300 |
| 581 |
|
| 582 |
atophide: replace to safe_strcpy for premature attention and safety |
| 583 |
|
| 584 |
This change will help developers pay attention in the future if this buffers origname/utsname.nodename and code associated with it are changed |
| 585 |
|
| 586 |
M atophide.c |
| 587 |
|
| 588 |
commit ff684ee80d8fbe6a7c188f4c679cb32b5423ab01 |
| 589 |
Author: Herman Semenoff <[email protected]> |
| 590 |
Date: Mon Feb 9 01:27:05 2026 +0300 |
| 591 |
|
| 592 |
acctproc: use safe_strcpy() for premature attention and safety |
| 593 |
|
| 594 |
This change will help you pay attention in the future if this buffers pacctdir and code associated with it are edited. |
| 595 |
|
| 596 |
M acctproc.c |
| 597 |
|
| 598 |
commit ad8ac1fc958d792409b7bd64539b0c2522a98452 |
| 599 |
Author: Herman Semenoff <[email protected]> |
| 600 |
Date: Mon Feb 9 01:23:58 2026 +0300 |
| 601 |
|
| 602 |
various: use safe_strcpy() for premature attention and safety |
| 603 |
|
| 604 |
This change will help you pay attention in the future if this buffers uid2name/gid2name and code associated with it are edited. |
| 605 |
|
| 606 |
M various.c |
| 607 |
|
| 608 |
commit 57dbad9f7fb7f8cb77ac8197ccc8e8374ffa1630 |
| 609 |
Author: Herman Semenoff <[email protected]> |
| 610 |
Date: Mon Feb 9 01:19:41 2026 +0300 |
| 611 |
|
| 612 |
atop: use safe_strcpy() for premature attention and safety |
| 613 |
|
| 614 |
This change will help you pay attention in the future if this buffer /dev/stdin and code associated with it are edited. |
| 615 |
|
| 616 |
M atop.c |
| 617 |
|
| 618 |
commit 37e6c6fd95ccd47394ab6cfcb275e48d4046a130 |
| 619 |
Author: Gerlof Langeveld <[email protected]> |
| 620 |
Date: Sat Feb 7 12:24:46 2026 +0100 |
| 621 |
|
| 622 |
Improved handling of container/pod name (#349) |
| 623 |
|
| 624 |
For container/pod names internally a length of 39 characters |
| 625 |
will be reserved instead of 15. In this way longer names can |
| 626 |
be handled in a better way, e.g. when cumulating the resource |
| 627 |
consumption of the processes in different containers. |
| 628 |
|
| 629 |
The container/pod name that will be displayed is still 15 |
| 630 |
characters, but the first part of the name is shown instead |
| 631 |
of the last part. With parsable output and json output the full |
| 632 |
name is shown. |
| 633 |
|
| 634 |
M photoproc.h |
| 635 |
M showgeneric.c |
| 636 |
M showprocs.c |
| 637 |
M utsnames.c |
| 638 |
|
| 639 |
commit cfbd2d93dccb9a7fc03a4a79cf14d0d85a81d9ca |
| 640 |
Merge: f0a6733 336d882 |
| 641 |
Author: Gerlof Langeveld <[email protected]> |
| 642 |
Date: Sat Feb 7 11:04:10 2026 +0100 |
| 643 |
|
| 644 |
Merge pull request #356 from GermanAizek/fix-concat |
| 645 |
|
| 646 |
showlinux: replace memcpy concat to GNU/Linux standard stpcpy() |
| 647 |
|
| 648 |
commit 336d8821f66757841dfa00751948c61ce7915cf1 |
| 649 |
Author: Herman Semenoff <[email protected]> |
| 650 |
Date: Thu Jan 22 02:04:24 2026 +0300 |
| 651 |
|
| 652 |
showlinux: replace memcpy concat to GNU/Linux standard stpcpy() |
| 653 |
|
| 654 |
Documentation: https://linux.die.net/man/3/stpcpy |
| 655 |
|
| 656 |
M showlinux.c |
| 657 |
|
| 658 |
commit f0a6733b6dc9f73a41aa37230b1aeb0c0f9cb90a |
| 659 |
Author: Gerlof Langeveld <[email protected]> |
| 660 |
Date: Wed Jan 14 22:00:19 2026 +0100 |
| 661 |
|
| 662 |
Race condition in twin mode |
| 663 |
|
| 664 |
Although the writing atop process uses the writev() system call, |
| 665 |
the writing of the sample header and the related compressed data |
| 666 |
is not written atomically. This means that the reading atop process |
| 667 |
might give the message "raw file is incomplete!" when it checks if |
| 668 |
the sample has been completely written. This has been solved by |
| 669 |
verifying the completeness repeatedly. |
| 670 |
|
| 671 |
M rawlog.c |
| 672 |
|
| 673 |
commit 93c1447d3941b588b554b05ae3f16ccf3ab5a878 |
| 674 |
Author: Gerlof Langeveld <[email protected]> |
| 675 |
Date: Tue Jan 6 17:25:38 2026 +0100 |
| 676 |
|
| 677 |
Proper scaling EUID/EGID for terminated process |
| 678 |
|
| 679 |
M showprocs.c |
| 680 |
|
| 681 |
commit 9bca440de85ba74ef35e62e48d078693a60f8454 |
| 682 |
Author: Gerlof Langeveld <[email protected]> |
| 683 |
Date: Mon Jan 5 17:04:34 2026 +0100 |
| 684 |
|
| 685 |
Check limits of max user/group name (issue #341) |
| 686 |
|
| 687 |
M showlinux.c |
| 688 |
|
| 689 |
commit db7f74b6abbcf7a0d744f693cc75e28103ac09c7 |
| 690 |
Author: Gerlof Langeveld <[email protected]> |
| 691 |
Date: Mon Jan 5 16:12:13 2026 +0100 |
| 692 |
|
| 693 |
Show full user names and group names (solves #341) |
| 694 |
|
| 695 |
When using the -i flag it is possible to show full user names and |
| 696 |
full group names for the columns EUID (effective UID), RUID (real UID), |
| 697 |
EGID (effective GID) and RGID (real GID). |
| 698 |
When this flag is not used, the mentioned columns have a fixed width |
| 699 |
of 8 characters. |
| 700 |
|
| 701 |
M atop.c |
| 702 |
M atop.h |
| 703 |
M man/atop.1 |
| 704 |
M showgeneric.c |
| 705 |
M showlinux.c |
| 706 |
M showprocs.c |
| 707 |
|
| 708 |
commit d51a1b574b5251c760e35f1608fc80b755d79b5d |
| 709 |
Author: Gerlof Langeveld <[email protected]> |
| 710 |
Date: Sat Dec 27 12:51:56 2025 +0100 |
| 711 |
|
| 712 |
Correct speedin/speedout (4-byte portions) #354 |
| 713 |
|
| 714 |
M showsys.c |
| 715 |
|
| 716 |
commit 6d92ea4b6a758d4090bdd529e93f971c38a18081 |
| 717 |
Author: Gerlof Langeveld <[email protected]> |
| 718 |
Date: Sat Dec 27 12:44:22 2025 +0100 |
| 719 |
|
| 720 |
Correct description of NFS counters (issue #348) |
| 721 |
|
| 722 |
M man/atop.1 |
| 723 |
|
| 724 |
commit b4d3c4686ea5ce16a24a421ffe47c84bc00ecc02 |
| 725 |
Author: Gerlof Langeveld <[email protected]> |
| 726 |
Date: Sat Dec 27 11:25:42 2025 +0100 |
| 727 |
|
| 728 |
Determine maximum user/group name size |
| 729 |
|
| 730 |
M atop.h |
| 731 |
M various.c |
| 732 |
|
| 733 |
commit 602d4ebea312d74b91935a40e5db212420727e60 |
| 734 |
Author: Gerlof Langeveld <[email protected]> |
| 735 |
Date: Mon Dec 22 11:16:38 2025 +0100 |
| 736 |
|
| 737 |
Minor cosmetic updates |
| 738 |
|
| 739 |
M atop.c |
| 740 |
M showgeneric.c |
| 741 |
M showlinux.c |
| 742 |
|
| 743 |
commit 237b75b7b6d6bd57987145edd01466d268544ab0 |
| 744 |
Author: Gerlof Langeveld <[email protected]> |
| 745 |
Date: Mon Dec 22 11:16:12 2025 +0100 |
| 746 |
|
| 747 |
Removed double "number of passive TCP opens" from man page |
| 748 |
|
| 749 |
M man/atop.1 |
| 750 |
|
| 751 |
commit 1856d4f6b2b2274256cbfd04b4592ae41bf28bfa |
| 752 |
Author: Gerlof Langeveld <[email protected]> |
| 753 |
Date: Sat Dec 13 09:44:13 2025 +0100 |
| 754 |
|
| 755 |
Correct sorting of numerical UID/GID (#352) |
| 756 |
|
| 757 |
When the -I flag is used or when a numerical UID/GID can not be |
| 758 |
converted into a user/group name, the numerical UID/GID should |
| 759 |
be sorted correctly. This means that e.g. UID 31 should be sorted |
| 760 |
before UID 181 in case of ascending order and not behind (because |
| 761 |
it starts with '3' compared to '1'). |
| 762 |
|
| 763 |
M showprocs.c |
| 764 |
|
| 765 |
commit bd2525e46f36494bc5dd55c48cc5ce864ec83758 |
| 766 |
Author: Gerlof Langeveld <[email protected]> |
| 767 |
Date: Sat Dec 6 11:10:16 2025 +0100 |
| 768 |
|
| 769 |
Rephrase warning for disk usage on process level |
| 770 |
|
| 771 |
M man/atop.1 |
| 772 |
|
| 773 |
commit 01c8b45f6310032afab9269ae82c62f0177c27a8 |
| 774 |
Author: Gerlof Langeveld <[email protected]> |
| 775 |
Date: Sat Dec 6 10:19:39 2025 +0100 |
| 776 |
|
| 777 |
Correct key usage o/O (#352) |
| 778 |
|
| 779 |
M man/atop.1 |
| 780 |
|
| 781 |
commit d9a910ea67916dd91e83226d06ca98d29797451d |
| 782 |
Merge: 7fd0943 f00a69c |
| 783 |
Author: Gerlof Langeveld <[email protected]> |
| 784 |
Date: Sat Dec 6 09:43:32 2025 +0100 |
| 785 |
|
| 786 |
Merge branch 'column_sort' |
| 787 |
|
| 788 |
commit f00a69ccacbd6f1202f771ef19b3a376c464a89d |
| 789 |
Author: Gerlof Langeveld <[email protected]> |
| 790 |
Date: Sat Dec 6 09:30:44 2025 +0100 |
| 791 |
|
| 792 |
Allow sorting of process list on any column (#352) |
| 793 |
|
| 794 |
Allow the process list to be sorted on any column, instead of only |
| 795 |
cpu (C), memory (M), disk (D), network (N) or gpu (E) utilization |
| 796 |
percentage. With the key 'O' a column name can be entered (case |
| 797 |
insensitive) that is part of the current process view -- either |
| 798 |
visible or invisible -- and a choice can be made to sort ascending |
| 799 |
or descending. The current sort column (if visible) will be |
| 800 |
highlighted. |
| 801 |
|
| 802 |
The key 'A' (automatically sort on the most utilized resource) |
| 803 |
is not supported any more. |
| 804 |
|
| 805 |
M atop.h |
| 806 |
M atopsar.c |
| 807 |
M cgroups.c |
| 808 |
M man/atop.1 |
| 809 |
M rawlog.c |
| 810 |
M showgeneric.c |
| 811 |
M showgeneric.h |
| 812 |
M showlinux.c |
| 813 |
M showlinux.h |
| 814 |
M showprocs.c |
| 815 |
|
| 816 |
commit 7fd09432a277cd58836afdeb30d071509af78ed7 |
| 817 |
Merge: caaf5d1 ca9a1a7 |
| 818 |
Author: Gerlof Langeveld <[email protected]> |
| 819 |
Date: Sat Oct 25 10:57:15 2025 +0200 |
| 820 |
|
| 821 |
Merge pull request #347 from shinderuk/master |
| 822 |
|
| 823 |
Fix tmpfs calculation for memory bargraph |
| 824 |
|
| 825 |
commit caaf5d18ba104587654f4b09e135162c67cd9148 |
| 826 |
Merge: 175ac96 bd955b1 |
| 827 |
Author: Gerlof Langeveld <[email protected]> |
| 828 |
Date: Sat Oct 25 10:51:22 2025 +0200 |
| 829 |
|
| 830 |
Merge branch 'clan-gpu' |
| 831 |
|
| 832 |
commit bd955b19ad0bf09c9e621f01ec70d1c02b83326a |
| 833 |
Author: Gerlof Langeveld <[email protected]> |
| 834 |
Date: Sat Oct 25 10:51:00 2025 +0200 |
| 835 |
|
| 836 |
Fork before creating threads |
| 837 |
|
| 838 |
M atopgpud |
| 839 |
|
| 840 |
commit 175ac96ceece01a6eff789ddc4b5c0a5b6179c9b |
| 841 |
Author: Gerlof Langeveld <[email protected]> |
| 842 |
Date: Mon Oct 13 14:01:21 2025 +0200 |
| 843 |
|
| 844 |
Allow samples with same timestamp in rawlog (#346) |
| 845 |
|
| 846 |
When atop is terminated and restarted right away (like in the |
| 847 |
case of 'systemctl restart atop') two samples might get same timestamp. |
| 848 |
This should be allowed when extending an existing raw log. |
| 849 |
|
| 850 |
Apart from that, only a check is done on the cgroup version (v2) |
| 851 |
of the existing raw log instead of checking on all features. |
| 852 |
|
| 853 |
M rawlog.c |
| 854 |
|
| 855 |
commit 044ed96eab1a42ad936bf516b2d2e25c5eb9d705 |
| 856 |
Merge: c861f5b 9c98b9e |
| 857 |
Author: Gerlof Langeveld <[email protected]> |
| 858 |
Date: Mon Oct 13 13:44:52 2025 +0200 |
| 859 |
|
| 860 |
Merge branch 'gpurenew' |
| 861 |
|
| 862 |
commit 9c98b9e3dd489f27dc231abf12e4bc29a1c76052 |
| 863 |
Author: Gerlof Langeveld <[email protected]> |
| 864 |
Date: Mon Oct 13 13:36:25 2025 +0200 |
| 865 |
|
| 866 |
Improve GPU statistics gathering (issue #350) |
| 867 |
|
| 868 |
Statistics collector 'atopgpud' for NVIDIA GPUs also gathers |
| 869 |
statistics for graphical use by processes instead of only for |
| 870 |
computational use by processes. |
| 871 |
There is no need any more to run 'atopgpud' with root privileges |
| 872 |
(i.e. special capabilities). |
| 873 |
The loop timing is more adequate now to sample exactly every second. |
| 874 |
|
| 875 |
The output of 'atop' has been slightly changed (interactively for |
| 876 |
key 'e' and extended parsable output). |
| 877 |
|
| 878 |
M atopgpud |
| 879 |
M atopsar.c |
| 880 |
M deviate.c |
| 881 |
M gpucom.c |
| 882 |
M gpucom.h |
| 883 |
M json.c |
| 884 |
M man/atop.1 |
| 885 |
M man/atopgpud.8 |
| 886 |
M parseable.c |
| 887 |
M photoproc.h |
| 888 |
M photosyst.h |
| 889 |
M showgeneric.c |
| 890 |
M showlinux.c |
| 891 |
M showlinux.h |
| 892 |
M showprocs.c |
| 893 |
|
| 894 |
commit ca9a1a7b98d15b25c6bfdf6cbfe75c8b8cc00d46 |
| 895 |
Author: Sergey Shinderuk <[email protected]> |
| 896 |
Date: Fri Sep 5 13:01:16 2025 +0300 |
| 897 |
|
| 898 |
Fix tmpfs calculation for memory bargraph |
| 899 |
|
| 900 |
Revert "Bug solution: convert shmrssreal to pages before use" |
| 901 |
This reverts commit 00d79f6636cde7742df29ca04596d6feb474c6c6. |
| 902 |
|
| 903 |
M drawbar.c |
| 904 |
|
| 905 |
commit c861f5bdbfa8655cbbb6e6858374ea328f48358e |
| 906 |
Author: Gerlof Langeveld <[email protected]> |
| 907 |
Date: Sun Aug 24 13:18:17 2025 +0200 |
| 908 |
|
| 909 |
UNIX domain socket to connect to atopgpud (#339) |
| 910 |
|
| 911 |
Use a UNIX domain socket for communication between atop and atopgpud |
| 912 |
instead of a TCP port (opened for all interfaces). |
| 913 |
|
| 914 |
M atopgpud |
| 915 |
M gpucom.c |
| 916 |
M man/atopgpud.8 |
| 917 |
|
| 918 |
commit e1bebd02807835c84ceaeba5da8c495f7d85a539 |
| 919 |
Author: Gerlof Langeveld <[email protected]> |
| 920 |
Date: Tue Jul 8 20:23:18 2025 +0200 |
| 921 |
|
| 922 |
Improved description of counter BDELAY in man page |
| 923 |
|
| 924 |
M man/atop.1 |