Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6207989
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T05:43:51+00:00 2026-05-24T05:43:51+00:00

I executed a python script on the server with the time command like time

  • 0

I executed a python script on the server with the time command like

time python myscript.py

The time output was :

312.90user 15.57system 2:10:42elapsed 4%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (1major+152440minor)pagefaults 0swaps

So, does that mean the script took 2 hours 10 minutes and 42 seconds to complete execution ?
Also, what is the meaning of 312.90user and 15.57system ?

Please Help
Thank You

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T05:43:52+00:00Added an answer on May 24, 2026 at 5:43 am

    To put it simply:

    “user” is the time the cpu spent running non-system calls in your myscript.py. These are the python codes.

    “system” is the time the cpu spent serving system calls made by your myscript.py. These are code that call the c library functions like open, write, etc., for example.

    “elapsed” is the wall clock duration that your program took to run. This is comparable to you measuring the time the program took to run using your wristwatch (if you wear one anyway).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a python script that, once executed from command line, performs the needed
If I have a python script that is executed via a symlink, is there
I've created a python script in which an event needs to be executed each
I have a PHP script which executes a shell command: $handle = popen('python last',
I've currently got a Bash command being executed (via Python's subprocess.Popen ) which is
When I execute my python script from the command line I have no problems
I am trying to write a python script that will SSH to a server
My python script is executed via the -m flag: python -m MyPythonModule.MyPhythonModule command_line_arg1 command_line_arg2
I have a python script which is querying a MySQL server on a shared
When writing a Python script that can be executed in different operating system environments

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.