Sponsored Content
Top Forums UNIX for Dummies Questions & Answers What is all About Unix and Linux? Post 302083571 by saipothuri on Monday 7th of August 2006 04:18:43 AM
Old 08-07-2006
What is all About Unix and Linux?

Hi,

This is my first post over here and i got a basic question what all these Unix and Linux about ? how they work? What are the Resources for a Basic person like me to get Unix or Linux into hand? And what are the differences between them ? many questions to shoot but time less in hand will wait for ur reply People

saipothuri.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

UNIX VS. Linux

Aahhhh!! I am so much frustrated trying to recover my superuser account. I need help!!! Please can anyone tell me how to recover a the root account? Thank you in advance. (1 Reply)
Discussion started by: pnoi_blitz
1 Replies

2. UNIX for Dummies Questions & Answers

Linux is Unix???

Could anyone explain if Linux is Unix? I'm a newbie here, just installed Oracle 8i on Redhat 7.2. (4 Replies)
Discussion started by: Prettyman
4 Replies

3. Answers to Frequently Asked Questions

What is unix and is linux a unix system

Unix is the name of an operating system. And unix is a registered trademark. This is what makes things murky. One of my favorite books is The Design and Implementation of the 4.3BSD UNIX Operating System. That book is out of print, but a newer book is available: The Design and Implementation... (0 Replies)
Discussion started by: Perderabo
0 Replies

4. Linux

UNIX and LINUX

Hey there, new to the forum :) Im currently at university studying UNIX, but i need some help. Can someone help me out with operational / technical differences between the two? Even if You just give me some topics i can go research them... much appreciated Josh (1 Reply)
Discussion started by: kiwi_bloke
1 Replies

5. UNIX for Dummies Questions & Answers

Unix to LINUX

quick question that may bring long answers :) I am currently looking into porting an existing Recital system from Unix to Linux. possibly not a good idea :) Basically; Would i be better shooting myself in the foot now? or do you know if there would be a fair expense due to buying Linux and the... (0 Replies)
Discussion started by: Kuz972
0 Replies

6. UNIX for Dummies Questions & Answers

unix on linux

hi all, i have a linux operating system...can i practice unix commands on linux system....there is any changes in the commands.....can any one post some meterial.. thanks (1 Reply)
Discussion started by: madhu_msinus@ya
1 Replies

7. UNIX for Dummies Questions & Answers

Unix vs Linux

why would one choose unix over linux? (2 Replies)
Discussion started by: lizzy
2 Replies

8. Fedora

Which is the better platform to learn UNIX/Linux (Kali Linux Vs. Red Hat or other)?

I just started a new semester and I started my UNIX class yesterday. I've already decided to use python along with my learning process but what I really want to use with it is Kali as my UNIX/Linux platform to learn off of since I already wanted to learn Cyber Sec. anyways. I just wanted to know if... (12 Replies)
Discussion started by: ApacheOmega
12 Replies

9. Post Here to Contact Site Administrators and Moderators

VIP Membership - The UNIX and Linux Forums - Get Your UNIX.COM Email Address Here

We work hard to make The UNIX and Linux Forums one of the best UNIX and Linux knowledge sources on the net. The site is certainly one of the top UNIX and Linux Q&A sites on the web. In order to provide certain members the best quality account services, you can now get some great extra features by... (2 Replies)
Discussion started by: Neo
2 Replies

10. What is on Your Mind?

YouTube: Forum Moderation @UNIX.com | The UNIX and Linux Forums

Forum Moderation @UNIX.com | The UNIX and Linux Forums https://youtu.be/WGwgibE4Rq0 Also note: In the video I mentioned removing legacy menu items in the ModCP which are unused. I have already "CSS'ed out" the unused menu items: ... (0 Replies)
Discussion started by: Neo
0 Replies
TIMES(2)						     Linux Programmer's Manual							  TIMES(2)

NAME
times - get process times SYNOPSIS
#include <sys/times.h> clock_t times(struct tms *buf); DESCRIPTION
times() stores the current process times in the struct tms that buf points to. The struct tms is as defined in <sys/times.h>: struct tms { clock_t tms_utime; /* user time */ clock_t tms_stime; /* system time */ clock_t tms_cutime; /* user time of children */ clock_t tms_cstime; /* system time of children */ }; The tms_utime field contains the CPU time spent executing instructions of the calling process. The tms_stime field contains the CPU time spent in the system while executing tasks on behalf of the calling process. The tms_cutime field contains the sum of the tms_utime and tms_cutime values for all waited-for terminated children. The tms_cstime field contains the sum of the tms_stime and tms_cstime values for all waited-for terminated children. Times for terminated children (and their descendants) are added in at the moment wait(2) or waitpid(2) returns their process ID. In par- ticular, times of grandchildren that the children did not wait for are never seen. All times reported are in clock ticks. RETURN VALUE
times() returns the number of clock ticks that have elapsed since an arbitrary point in the past. The return value may overflow the possi- ble range of type clock_t. On error, (clock_t) -1 is returned, and errno is set appropriately. CONFORMING TO
SVr4, 4.3BSD, POSIX.1-2001. NOTES
The number of clock ticks per second can be obtained using: sysconf(_SC_CLK_TCK); In POSIX.1-1996 the symbol CLK_TCK (defined in <time.h>) is mentioned as obsolescent. It is obsolete now. In Linux kernel versions before 2.6.9, if the disposition of SIGCHLD is set to SIG_IGN then the times of terminated children are automati- cally included in the tms_cstime and tms_cutime fields, although POSIX.1-2001 says that this should only happen if the calling process wait(2)s on its children. This nonconformance is rectified in Linux 2.6.9 and later. On Linux, the buf argument can be specified as NULL, with the result that times() just returns a function result. However, POSIX does not specify this behavior, and most other Unix implementations require a non-NULL value for buf. Note that clock(3) also returns a value of type clock_t, but this value is measured in units of CLOCKS_PER_SEC, not the clock ticks used by times(). On Linux, the "arbitrary point in the past" from which the return value of times() is measured has varied across kernel versions. On Linux 2.4 and earlier this point is the moment the system was booted. Since Linux 2.6, this point is (2^32/HZ) - 300 (i.e., about 429 million) seconds before system boot time. This variability across kernel versions (and across Unix implementations), combined with the fact that the returned value may overflow the range of clock_t, means that a portable application would be wise to avoid using this value. To mea- sure changes in elapsed time, use gettimeofday(2) instead. Historical SVr1-3 returns long and the struct members are of type time_t although they store clock ticks, not seconds since the Epoch. V7 used long for the struct members, because it had no type time_t yet. BUGS
A limitation of the Linux system call conventions on some architectures (notably i386) means that on Linux 2.6 there is a small time window (41 seconds) soon after boot when times() can return -1, falsely indicating that an error occurred. The same problem can occur when the return value wraps passed the maximum value that can be stored in clockid_t. SEE ALSO
time(1), getrusage(2), wait(2), clock(3), sysconf(3), time(7) COLOPHON
This page is part of release 3.27 of the Linux man-pages project. A description of the project, and information about reporting bugs, can be found at http://www.kernel.org/doc/man-pages/. Linux 2008-06-25 TIMES(2)
All times are GMT -4. The time now is 05:42 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy