|
The "PF Usage" bar reports the same value as "Commit Charge Total". It's the total of all private bytes allocated, that is, everything that might need space in the page file. The actual amount of page file space currently used is not reported. Loading data back from the page file(s) does not delete that data from the page file, so in effect it's still "used" even though the data is also in physical memory.
The "Available Bytes" counter is the sum of all zero pages, all free pages, and all pages on the standby and modified lists. Pages on the Standby list are unmodified pages that have been removed from working sets, but have not yet been moved to the Free list because the free list already has sufficient pages. A page on the Standby list can be returned to its original working set without needing to read from disk. The Modified list contains pages which have been removed from working sets and have been modified since last written, and therefore must be written back to disk before the page can be reused.
A page fault that is satisfied by a page from the Standby or Modified list is termed a 'soft fault'.
The "System Cache" counter doesn't quite mean what you think it means either. The Standby and Modified lists are counted as part of this, in addition to the size of the System Working Set, which includes pageable kernel code and data in addition to the file cache. The Standby and Modified lists are counted again because, effectively, they do comprise a cache.
Stability. What an interesting concept. -- Chris Maunder
|
|
|
|
|
Thanks... please allow me to ask a few more questions:
1. PF Usage: so... what's the relevance of PF Usage in performance tuning? Is there a "normal/acceptable" range for PF usage?
2. Available Bytes: what's "zero page", "free page", "standby list" and "modified/unmodified list" -- reference/URL?
again, what's the "normal/acceptable" range for "Available Bytes"?
Thanks in advance.
Norman Fung (c)
|
|
|
|
|
Hey just looked at:
C:\pagefile.sys
It's size is 786MB - but on Task Manager Performance Tab, "PF Usage" is: 539 MB
Adding to confusion is, with performance counters:
"Paging File \ % Total" hovers around 20%?
The numbers doesn't add up...
20% of 786MB = 157 MB, but "PF Usage" is 539MB???
Norman Fung (c)
|
|
|
|
|
Sorry for not letting you go here...
Thought PF Usage (Page File) refers to total memory allocated to swap file - now, what do I need to know about PF usage if it's "CPU Usage" and "Physical Memory \ Available" which determines if your box would start behaving like a snail?
Anyway, I was thinking, so long my "Physical Memory \ Available" (perfmon.exe) consistently hovers ABOVE ZERO it means my machine has "spare" memory - that memory is consistently "available" to application processes. Same can be said for CPU Usage - that if it doesn't go 100% consistently, then you have spare CPU cycles to burn. But, apparently with:
1. CPU Usage hovers around 10% consistently
2. Physical Memory:
a. Total 1GB
b. Available: hovers around 500 MB (stable)
c. System: hovers around 500 MB (stable)
Why's my box so slow at times when CPU Usage and Physical Memory both looks okay?
I also use "perfmon" to check Memory: Page/Sec counter. It seems like every time I type something in Visual Studio code file Visual Studio is sucking up a lot of juice:
a. "Memory: Page/Sec" rises from zero to 10/sec
b. CPU usage on Task Manager go up to to 50% to almost 100%, then immediately drops back down.
Norman Fung (c)
|
|
|
|
|
I have a network bootable CD that silently ghosts a systems and then reboots to windows. I need to have the same CD execute once the user logs into windows. I do not want the user to have to run the CD-ROM manually. I can not modify the ghost image, b/c there are too many of them. I've been working with the autorun.inf file but that only works when the CD is inserted into the CD Drive.
Is there anyway to autorun the CD in the CD-ROM drive whenever a user logs onto a system without modifying the hard drive ( because the systems are often ghosted and anything on the hard drive is deleted )?
|
|
|
|
|
The only potential solution i can think of is to add the exe to the startup folder on the hard drive after the system has completed ghosting but before the system reboots to windows.
How do I gain access to the hard drive and add a file to the startup folder, without user interaction?
|
|
|
|
|
Hi
adding an exe to the startup is quite simple:
in registry at HKEY_LOCAL_MACHIN (if user has administrative privillages) or "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run" ,
add a string value:
The key name could be anything but the value should be the local path of the executable file on hard drive (or even CD drive!)
The executable file would run at each log on!
|
|
|
|
|
I know the Mutex and Semaphore usage in any OS. but not sure of Recursive Mutex and Semaphore.
If anybody guide me for this it will be of great help.
Anil Kumar
|
|
|
|
|
Hi, in windows explorer we could see the drive (floopy drive, CDROM drive, mapped drive, harddrive). But I want to list all of the drive that my computer have in MS-DOS command prompt. Is it possible to do that? If yes, what is the command to list those drive in the command prompt?
A thousand mile of journey, begin with the first step.
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|
|
As far as I know, there isn't a built-in command to do it, but it's relatively easy to do using WMI via scripting, or using the Win32 API.
Steve S
Developer for hire!
|
|
|
|
|
|
Thank you very much for your information. But the command just list only the mapped network drive. And how about the removeable drive and the system partition drive in my computer? How could I list it?
A thousand mile of journey, begin with the first step.
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|
|
By using some scripting or some simple SDK C/C++ code; but you'd have to write something.
Steve S
Developer for hire!
|
|
|
|
|
If you have WMI installed, you can create a VBS file that contains this;
<------------cut here-------------->
function driveType(x)
if (x = 0) then
driveType = "Unknown"
elseif x = 1 then
driveType = "No root"
elseif x = 2 then
driveType = "Removable(flash/floppy)"
elseif x = 3 then
driveType = "HDD"
elseif x = 4 then
driveType = "Network drive"
elseif x = 5 then
driveType = "DVD/CD"
elseif x = 6 then
driveType = "RAM disk"
end if
end function
strComputer = "."
set wbemSvc = GetObject("winmgmts:\\" & strComputer)
set wbemSet = wbemSvc.InstancesOf("Win32_LogicalDisk")
for each wbemObject in wbemSet
wscript.echo wbemObject.Name & " " & driveType(wbemObject.DriveType)
next
<---------------- cut here--------->
save it as say, driveL.VBS, then create a CMD file that contains
CSCRIPT /NOLOGO driveL.VBS
and run your cmd file. Should give you something like this;
A: Removable(flash/floppy)
C: HDD
D: HDD
E: DVD/CD
G: Removable(flash/floppy)
X: Network drive
although obviously, your drives may vary
Checkout the Win32_LogicalDisk docs in MSDN, and you can see how it all works. Not a huge amount of work to extend it to display things like network paths, but I left you something to do - I'm supposed to be looking for paid work ATM, after all !!
Steve S
Developer for hire!
|
|
|
|
|
Thank you very much for your valuable answer. Now it is working. Can you give me the resource that you post me the answer? It is easy for me to learn in the future and customize the code as I need.
A thousand mile of journey, begin with the first step.
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|
|
Most of the information comes straight from the MSDN library. The WMI stuff is explained (kind of ) in there in various places, but the "Scripting Clinic" is a good place to start. If you don't have the MSDN library on CD, use the online version[^] as a starting point.
WMI is easy to use from VBScript, much easier than in C++, although that's my preferred option
Steve S
Developer for hire!
|
|
|
|
|
Thank you very much for your information. I really appreciate your help.
Good luck
A thousand mile of journey, begin with the first step.
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|
|
I lost a windows explorer command file which is for toggle desktop!I got the script of it but don't know how to generate one WEC file. In addition what the language standard inside WEC file? Can I put more in it?
|
|
|
|
|
Where can I download Windows 98 Start Up disk?
thanks.
|
|
|
|
|
Hi,
Just look at www.bootdisk.com
With friendly greetings,
Yepper65
|
|
|
|
|
Hi everyone,
I'm trying to set up a telnet server for our internal use on a Windows 2003 Server, and can't make it work. I have enabled and started the Telnet service, as well as the Secondary Logon service, both are running, the user account in question is a member of Telnet Clients group.
But it still doesn't work unless the user is also a member of the Administrators group (Power Users membership won't help). I've read somewhere that the user must also be allowed to log on locally, so I have added this particular user to the list of those allowed to log on locally, but still it doesn't work unless the user account is a member of Administrator.
Any ideas?
Thanks in advance,
Rado
Radoslav Bielik
http://www.neomyz.com/poll [^] - Get your own web poll
http://www.neomyz.com/games [^] - Add a small game to your website
|
|
|
|
|
So the server works fine, you are having a permissions problem with a certain user then correct?
My name is Maximus Decimus Meridius, commander of the Armies of the North, General of the Felix Legions, loyal servant to the true emperor, Marcus Aurelius. Father to a murdered son, husband to a murdered wife. And I will update my website, in this life or the next.
Code-frog System Architects, Inc.
|
|
|
|
|
Are there any keyvalues in windows registry that is same for all usbcams but different for usbscanner? Which key values change when i connect and disconnect the usb devices?
|
|
|
|
|
Go to http://www.systernals.com and download the regmon application.
My name is Maximus Decimus Meridius, commander of the Armies of the North, General of the Felix Legions, loyal servant to the true emperor, Marcus Aurelius. Father to a murdered son, husband to a murdered wife. And I will update my website, in this life or the next.
Code-frog System Architects, Inc.
|
|
|
|
|
I am currently trying to learn assembl. I haven't started yet, nor written one lien of it. I know how both a processor and memory works, an I want to write in that language. Is assembly that language. A processor only has about 16 commands, I want to write in that language, and not need an OS. Of course the OS to test and to program is almost impossible to be without, but how do I do it.
Thanks for any help given.
|
|
|
|