Export List of Hard Disk Read Times

PowerShell script exchange

Re: Export List of Hard Disk Read Times

Veeam Logoby jbennett » Tue Nov 10, 2015 9:21 pm

Jack, could you give an example of how you think it should look. Like v.Eremin, I'm not sure what you're looking for.

Jack1874 wrote:Pretty much perfection ...

Is it possible to list out the the Disk Details Hard Disk 1 , 2 , 3 .. etc

-Justin
[@cajeeper]|[http://www.allthingstechie.net]
jbennett
Enthusiast
 
Posts: 33
Liked: 12 times
Joined: Tue Jun 23, 2015 3:47 pm
Location: Hemet, CA
Full Name: Justin Bennett

Re: Export List of Hard Disk Read Times

Veeam Logoby Jack1874 » Tue Nov 10, 2015 10:15 pm

Was thinking something along the lines of ...


Job Name VM Name Hard Disk 1 Hard Disk 2 Hard Disk 3
Job 1 VM_1 24 MB/s 28 MB/s 41 MB/s
Job 2 VM_2 21 MB/s 24 MB/s 39 MB/s
Jack1874
Enthusiast
 
Posts: 88
Liked: 4 times
Joined: Sat Oct 17, 2015 3:32 pm
Location: Canada
Full Name: Stuart Little

Re: Export List of Hard Disk Read Times

Veeam Logoby Jack1874 » Tue Nov 10, 2015 10:31 pm

Jack1874
Enthusiast
 
Posts: 88
Liked: 4 times
Joined: Sat Oct 17, 2015 3:32 pm
Location: Canada
Full Name: Stuart Little

Re: Export List of Hard Disk Read Times

Veeam Logoby jbennett » Tue Nov 10, 2015 10:34 pm

Jack1874 wrote:Was thinking something along the lines of ...


Job Name VM Name Hard Disk 1 Hard Disk 2 Hard Disk 3
Job 1 VM_1 24 MB/s 28 MB/s 41 MB/s
Job 2 VM_2 21 MB/s 24 MB/s 39 MB/s



You can add Hard Disk 1, Hard Disk 2 columns to the end of the result block like the following:

Code: Select all
"Hard Disk 1" = (($_.Logger.getlog()).updatedrecords | ? {$_.Title -like "Hard Disk 1*"} | % { ($_.description -split " ")[4]+" "+($_.description -split " ")[5] | out-string } )
"Hard Disk 2" = (($_.Logger.getlog()).updatedrecords | ? {$_.Title -like "Hard Disk 2*"} | % { ($_.description -split " ")[4]+" "+($_.description -split " ")[5] | out-string } )


Image

Image

Only thing is, like I mentioned prior, you're going to get ever changing size per second. Some will read MB/s, some will read KB/s, it'll be all over.
-Justin
[@cajeeper]|[http://www.allthingstechie.net]
jbennett
Enthusiast
 
Posts: 33
Liked: 12 times
Joined: Tue Jun 23, 2015 3:47 pm
Location: Hemet, CA
Full Name: Justin Bennett

Re: Export List of Hard Disk Read Times

Veeam Logoby Jack1874 » Tue Nov 10, 2015 11:11 pm

Thanks Justin... I'll check out your suggestion and report back.
Jack1874
Enthusiast
 
Posts: 88
Liked: 4 times
Joined: Sat Oct 17, 2015 3:32 pm
Location: Canada
Full Name: Stuart Little

[MERGED] Queued Time

Veeam Logoby massimoberloffa » Fri May 27, 2016 6:19 am

How can I extract the time "queued" a vm?

VMNane JobName Duration QueuedTime
--------- ----------- ---------- --------------

vm1 job1 00:15:11 00:05:11
vm2 job1 00:55:11 00:15:11
vm3 job2 00:22:11 00:01:11
vm4 job2 00:11:11 00:00:11


thank you
massimoberloffa
Lurker
 
Posts: 1
Liked: never
Joined: Fri Feb 19, 2016 9:56 am

Re: Export List of Hard Disk Read Times

Veeam Logoby PTide » Mon May 30, 2016 5:06 pm

How can I extract the time "queued" a vm?
Please check this this post

Thanks
PTide
Veeam Software
 
Posts: 3017
Liked: 245 times
Joined: Tue May 19, 2015 1:46 pm

Previous

Return to PowerShell



Who is online

Users browsing this forum: edirschedl, Yahoo [Bot] and 6 guests