03-17-2013
Go to My Computer rt clk and then properties There u can see whether ur system is a 32 bit or 64bit processor. And check In Linux the release releted file in /etc/ path to know the version of Fedora. or u can find it in my computer too(Linux) download as per that and work on windows and Linux side by side.
8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Solaris
Newbie here to scripting in UNIX/SOLARIS.
What I am looking to do is, once the script is
executed, switch to /bin/bash shell and continue
to execute the script.
The problem I run into is once the script switches to the Bash
shell, the script stops, and does not execute the... (2 Replies)
Discussion started by: Scoobiez
2 Replies
2. UNIX for Dummies Questions & Answers
How do I go about switching from one Kernel to another?
I figure the process is somewhat like "compile -> remove old boot reference -> add new boot reference -> reboot/restart kernel"... but honestly I have no idea how to do this...
I'm trying to test out a piece of software, but it only runs... (3 Replies)
Discussion started by: jjinno
3 Replies
3. Windows & DOS: Issues & Discussions
I have been using dial up for my internet connection for the past 6 months on Windows. Before that, I used DSL. Now, I am trying to switch back to DSL but I can't connect to internet on my Windows.
there is no problem, I am sure, on the DSL connection, since I have dual-boot Linux installed and... (3 Replies)
Discussion started by: milhan
3 Replies
4. Solaris
I want just to keep Solaris OS as my default OS .
I have installed linux and windows as well but all my critical data is stored on NTFS partition so question is how to mount HDD with NTFS on Solaris
(tried FUSE + NTFS-3g but that did`t worked for me system was down)
And why Solaris does not... (2 Replies)
Discussion started by: microbot
2 Replies
5. What is on Your Mind?
I'm currently a Windows admin and have wanted to jump ship to the *nix side for a while now. I've been studying both through an lpic level 1 manual as I have time (focusing on debian), and a solaris 10 cert book. The problem is I only have a handful of hours a week to study, and my current job... (3 Replies)
Discussion started by: bobwilson
3 Replies
6. Shell Programming and Scripting
Hello Everyone,
I'm new to unix and having trouble with switching users
s_user='sample_user', I need to connect to a remote server using the user "sampleuser" copy files on that remote server. However I am not allowed to add a private key to that same server nor add scripts on sampleuser's... (5 Replies)
Discussion started by: AmazingTyagoman
5 Replies
7. Shell Programming and Scripting
Requirement: I am writing a shell script which take some file from say Server1 and I have to execute some command on Server2 then I have to manipulate the data and based on that I have to produce report.
Problem:I can schedule the shell script on only one server (Server1 or Server2) So, In the... (3 Replies)
Discussion started by: raks2301
3 Replies
8. Shell Programming and Scripting
I had a unix scripts in prod. I need to made changes in those scripts which I don't have the edit access. I need to move those scripts from prod to dev to edit. Please tell me how to switch from production to development, So that I can made changes in dev and again move those scripts to Prod.
... (3 Replies)
Discussion started by: Rajeswararao
3 Replies
CLOCK(3) Linux Programmer's Manual CLOCK(3)
NAME
clock - Determine processor time
SYNOPSIS
#include <time.h>
clock_t clock(void);
DESCRIPTION
The clock() function returns an approximation of processor time used by the program.
RETURN VALUE
The value returned is the CPU time used so far as a clock_t; to get the number of seconds used, divide by CLOCKS_PER_SEC. If the processor
time used is not available or its value cannot be represented, the function returns the value (clock_t) -1.
CONFORMING TO
C89, C99, POSIX.1-2001. POSIX requires that CLOCKS_PER_SEC equals 1000000 independent of the actual resolution.
NOTES
The C standard allows for arbitrary values at the start of the program; subtract the value returned from a call to clock() at the start of
the program to get maximum portability.
Note that the time can wrap around. On a 32-bit system where CLOCKS_PER_SEC equals 1000000 this function will return the same value
approximately every 72 minutes.
On several other implementations, the value returned by clock() also includes the times of any children whose status has been collected via
wait(2) (or another wait-type call). Linux does not include the times of waited-for children in the value returned by clock(). The
times(2) function, which explicitly returns (separate) information about the caller and its children, may be preferable.
SEE ALSO
clock_gettime(2), getrusage(2), times(2)
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/.
GNU
2008-08-28 CLOCK(3)