If you take a look at the logs for the job you will see the start, end and lapsed time along with the CPU time for all steps run.

Elapsed time will ALWAYS be longer than CPU time.

Why?
1. System is multi tasking so runs many jobs at the same time depending on capabilities.
2.  Overheads for various external processes that look after the job/s.
3. Speed of operators (including robots) to load any required tapes or exchangeable disk packs if used.
4.  Others, but you get the idea.

Try running similar job/s on a PC at least under Linux within a script with a prefix of time you will see the same.

For example running :-

--
#!/bin/bash
time rsync -avvuhh --stats --delete --exclude=/home/vince/.VirtualBox --exclude="/home/vince/VirtualBox VMs" --exclude=/home/vince/Music2 /home /home/vince/Music2/Backups > rsync-home.log 2>rsync-home.err
exit 0
--

Output is  :-

--
[vince@Applewood ~]$ sudo ./rsync-home.sh
[sudo] password for vince:

real    1m10.523s
user    0m13.190s
sys     0m10.720s
--

So CPU is 13.19 + 10.72  = 23.81   lapsed 70.52 seconds.
This was run on a multi user / tasking system with web, ftp, mysql and other servers running.

A M/F may not break down CPU time between system and the application depending on O/S used.



Vince

On 09/04/17 17:42, Lindy Mayfield wrote:
I only have CPU time from SMF 30 but I don't have elapsed time which is very 
important.  I'd like to somewhat infer that a high CPU time means the job ran a 
long time.

/Lindy

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Lizette Koehler
Sent: sunnuntai 9. huhtikuuta 2017 18.55
To: [email protected]
Subject: Re: CPU Timerons/Seconds vs Wall-clock Time

What are you trying to solve?

Jobs get swapped in and out depending on what work they are doing.


Are you trying to relate wall clock to cpu time?  I have seen jobs run 2 hours 
wall clock time and only take 10 mins of CPU time.

Lizette


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]]
On Behalf Of Lindy Mayfield
Sent: Sunday, April 09, 2017 8:48 AM
To: [email protected]
Subject: CPU Timerons/Seconds vs Wall-clock Time

This may or may not be the dumbest question I've asked this week, but
I've been working with Linux a lot lately so that's my excuse.

For example, if an MVS job ran and consumed 10 CPU seconds (SMF 30 I
think), can I assume that it at least took 10 seconds of elapsed time to run?

Regards,
Lindy
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
[email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN



--
- IMPORTANT –

This email and the information in it may be confidential, legally privileged
and/or protected by law.
It is intended solely for the use of the person to whom it is addressed.
If you are not the intended recipient, please notify the sender immediately
and do not disclose the contents to any other person, use it for any purpose,
or store or copy the information in any medium.

Please also delete all copies of this email & any attachments from your system.

If this is an encrypted email it is your responsibility to maintain the 1024
byte key system even for one-use keys. Once mail has been sent the sending key
is not kept and therefore a replacement mail cannot be resent.

We cannot guarantee the security or confidentiality of non encrypted email
communications.
We do not accept any liability for losses or damages that you may suffer as a
result of your receipt of this email including but not limited to computer
service or system failure, access delays or interruption, data non-delivery
or mis-delivery, computer viruses or other harmful components.

Copyright in this email and any attachments belongs to Applewood Computers.
Should you communicate with anyone at Applewood Computers by email,
you consent to us monitoring and reading any such correspondence.

Nothing in this email shall be taken or read as suggesting, proposing or
relating to any agreement concerted practice or other practice that could
infringe UK or EC competition legislation (unless it is against Security
requirements).

This Email and its attachments (if any) are scanned for virii using Clamd
and ClamAV 0.99.2 or later (Linux x64).

Dykegrove Limited T/A Applewood Computers is a company registered in England
(no. 01681349) whose registered office is at Applewood House,
17 Stag Green Avenue, Hatfield, Hertfordshire, AL9 5EB, UK.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to