Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 operating system question!
Index -> General Discussion
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
zhongtheman




PostPosted: Thu Sep 26, 2013 11:11 pm   Post subject: operating system question!

how do i know how much of my memory is being used by my OS?
Sponsor
Sponsor
Sponsor
sponsor
BigBear




PostPosted: Thu Sep 26, 2013 11:56 pm   Post subject: RE:operating system question!

Which OS?

Windows: Ctrl+Shift+Esc
Linux: in terminal $ free -m
zhongtheman




PostPosted: Fri Sep 27, 2013 12:39 am   Post subject: Re: operating system question!

i want to check how much of my memory is occupied by my OS
DemonWasp




PostPosted: Fri Sep 27, 2013 6:51 am   Post subject: RE:operating system question!

In Windows, open the task manager and go to the performance tab. In the "Kernel Memory" section, add the values of "Paged" and "Nonpaged". That's what the kernel itself (drivers included) is using.

But an "operating system" also a collection of applications surrounding that kernel, without which it wouldn't be useful. In Windows, you'll see processes like: explorer.exe and dwm.exe, which are Windows-native processes that manage some part of the system. Your drivers probably added a process somewhere to auto-update, especially the graphics card driver.

If you look at the "services" tab, then many of those services are part of the "operating system", like "Spooler" (handles printing), "AudioSrv" (audio subsystem), Dnscache (DNS cache, vital for network access), "hidserv" (manages human interface devices, like keyboards and mice), etc.

If you look back at the performance tab, you can also see that some amount of memory is "cached", meaning that the operating system is keeping a copy of some files from your hard drive in memory because it suspects you might want to read from them again. If it's right, then you get to read that file much faster because it's already in memory; if it's wrong, then there's no real loss because it can just delete the copy and leave the original (on the hard drive) intact.

In short: there's no single answer, because an "operating system" can include a lot of software, and exactly where "OS" ends and "applications" begin isn't well-defined.
Display posts from previous:   
   Index -> General Discussion
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 4 Posts ]
Jump to:   


Style:  
Search: