MichaelDell
IS-IT--Management
I am trying to gather data on the uptime of PCs in our company. The purpose is to find out how many are being left on overnight. My intent is to run the uptime utility off of the resource kit at 8:00 AM on the PCs via Novell Zenworks app object (force run) that takes the output data and pipes it to a text file back on the server for each container.
The command I will use is %source_path%\uptime.exe >%server%\%folder%\%computername%.csv
This pipes the output to a folder on the server as a single .csv file, so each PC will produce it's own file. The data in the output file looks like this:
\\L110012186 has been up for: 0 day(s), 7 hour(s), 9 minute(s), 28 second(s)
I figure that I can use Access to import all of the data and work with it.
Ideally, I was looking for input and ideas on:
1. Does anyone know a way that I can get the uptime utility to append the data from each PC to a single file? I am not sure if this is a good ideas because there is the chance the mulitiple machines may be trying to hit the file at the same time.
2. Does anyone know of another utility or a better way to gather uptime data from multiple machines, either by IP subnet / range or other methods?
The command I will use is %source_path%\uptime.exe >%server%\%folder%\%computername%.csv
This pipes the output to a folder on the server as a single .csv file, so each PC will produce it's own file. The data in the output file looks like this:
\\L110012186 has been up for: 0 day(s), 7 hour(s), 9 minute(s), 28 second(s)
I figure that I can use Access to import all of the data and work with it.
Ideally, I was looking for input and ideas on:
1. Does anyone know a way that I can get the uptime utility to append the data from each PC to a single file? I am not sure if this is a good ideas because there is the chance the mulitiple machines may be trying to hit the file at the same time.
2. Does anyone know of another utility or a better way to gather uptime data from multiple machines, either by IP subnet / range or other methods?