Apps/sysmon: Fixed #85 #86
No reviewers
Labels
No Label
C
Category/Applications
Category/Drivers
Category/General
Category/Kernel
Category/Libraries
Eolite
FASM
FS
HLL
Influence/Settings
Influence/Text/TYPO
IRCC
Kernel
Kind
Breaking
Kind
Bug
Kind
Build
Kind
Documentation
Kind
Enhancement
Kind
Feature
Kind
Security
Kind
Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: KolibriOS/kolibrios#86
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "Burer/kolibrios:main"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Small code changes to fix all issues mentioned in Issue #85:
WARNING!
For some reason, on my system, even unmodified source code is build with bug - CPU load per process is always 0 or 1. I believe, that reason is in some type of overloading, as when I tried to display maximum number of CPU cycles I got just big negative value.
However, since the autobuild system builds these same sources without problems, there must be some local bug or compiler misconfiguration, so I assume that my updated code should also be built by the autobuild system without problems. But I am not sure about it, so it is advisable to check it before accepting this Pull Request.
WIP: Fixed #85 (Various problems in System Monitor)to Fixed #85 (Various problems in System Monitor)@Burer Please edit the commit message to
Apps/sysmon: Fixed #85
.Fixed #85 (Various problems in System Monitor)to Apps/sysmon: Fixed #85Done!
It is not WIP, as I have already done all fixes that I want. But please, check if app builds and works okay before merging this commit, because for me even unmodified sources haven't built properly as stated in warning in pull request description.
Apps/sysmon: Fixed #85to WIP: Apps/sysmon: Fixed #85WIP: Apps/sysmon: Fixed #85to Apps/sysmon: Fixed #853129b611d1
tocd0534afb1
@ -312,3 +312,4 @@
dir_size.get(#param);
dir_size.sizelo += dir_size.files/2 + 32 * 512; //file attr size + FAT table size
dir_size.sizelo += 1024*1024 - 1; // add this line to round up
dir_size.sizelo /= 1024*1024; //convert to MiB
Shows in KB, but converts to MiB?
System disc free space was calculated and shown in KiB, but subscripted in MB. I changed it's subscription to KB.
TMP discs free space was shown and subscripted in MiB, but I changed it's logic from round-up to round-down.
These are two different functions with different logic of work.
I pre-approve. But it's better to wait until CI is working.
Checkout
From your project repository, check out a new branch and test the changes.