If you want to get only last access time of specific file you could use "ls" command as follow:If you want to get recursively (in subfolders too), last access time all files/folders you can do:Other examples (if "--time, --sort" options don't work in your system) try: (*All the following examples aren't printed with seconds precision, because --time-style=+FORMAT is missing.I hope this is near what you need and work in your system.
Hi,
I need to time a certain function in my C/C++ code and I am experiencing some difficulties. I timed it using wallclock time so I know that it takes approximately 500-600 microseconds with
gettimeofday(&start, NULL);
// my function call
gettimeofday(&end, NULL);
answer = (end.tv_sec -... (2 Replies)
I thought that access time of a file is time when the file was run last time (or I read somewhere that it's time when system lookup the file -> but I'm not sure when it really is)
How is it exactly?
Thank you for help! (11 Replies)
Hi All,
Cany any one help me in solving this..
Problem statement: I have a requirement to find the time from which there are no files created in a given directory. For this I am assuming that I need to get the file creation time in seconds, then the current time in seconds using `date +%s`.... (7 Replies)
i have file named aaaa.
The file aaaa was zipped on one particular time.
Need to know the command to find out when the file "aaaa" was actually zipped. (1 Reply)
Hi all,
I'm after some help with this small issue which i'm struggling to work out a fix for.
I have a file that contains records that all have a time stamp for each individual record, i need to search the file for a specific time stamp and then search back 10 seconds to see if the number... (2 Replies)
Hi to all,
I am new to Linux. but i am facing issue with my web server in Ubuntu 11.10.
In my webserver i want to restrict maximum users website access (e.g., suppose i want to restrict users to access web to 250 persons in single time). So can you please suggest me to how to do that in... (1 Reply)
Hi Friends,
I am facing a very strange issue . I type something on putty session of servers of my work(locating in North America) and it appears only after 7 seconds or so. I am located in India. It doesn't happen with my colleagues who are sitting next to me :(.
I use the ssh protocol to connect... (4 Replies)
I have to list the files of particular directory using file filter like find -name abc* something and if multiple file exist I also want time of each file up to seconds.
Currently we are getting time up to minutes in AIX is there any way I can get file last modification time up to seconds. (4 Replies)
Discussion started by: Nitesh sahu
4 Replies
LEARN ABOUT REDHAT
ppmntsc
PPMNTSC(1) General Commands Manual PPMNTSC(1)NAME
ppmntsc - Make RGB colors legal for NTSC or PAL color systems.
SYNOPSIS
ppmntsc [ --pal ] [ --legalonly ] [ --illegalonly ] [ --correctedonly ] [ --verbose ] [ --debug ] [ infile ]
Minimum unique abbreviations of options are acceptable.
DESCRIPTION
This program makes colors legal in the NTSC (or PAL) color systems. Often, images generated on the computer are made for use in movies
which ultimately end up on video tape. However, the range of colors (as specified by their RGB values) on a computer does not match the
range of colors that can be represented using the NTSC (or PAL) systems. If an image with "illegal" colors is sent directly to an NTSC (or
PAL) video system for recording, the "illegal" colors will be clipped. This may result in an undesirable looking picture.
This utility tests each pixel in an image to see if it falls within the legal NTSC (or PAL) range. If not, it raises or lowers the pixel's
saturation in the output so that it does fall within legal limits. Pixels that are already OK just go unmodified into the output.
Input is from the file named input. If input is -, input is from Standard Input. If you don't specify input, input is from Standard
Input.
Output is always to Standard Output.
This program handles multi-image PPM input, producing multi-image PPM output.
OPTIONS --pal Use the PAL transform instead of the default NTSC.
--verbose
Print a grand total of the number of illegal pixels.
--debug
Produce a humongous listing of illegal colors and their legal counterparts. NOTE: This option may produce a great deal of output.
--legalonly
Output only pixels that are already legal. Output black in place of pixels that are not.
--illegalonly
Output only pixels that are illegal (and output them uncorrected). Output black in place of pixels that are already legal.
--correctedonly
Output only pixels that are corrected versions of illegal pixels. Output black in place of pixels that are already legal.
SEE ALSO ppm(5), ppmdepth(1), ppmdim(1), ppmbrighten(1)AUTHOR
Wes Barris, Minnesota Supercomputer Center, Inc., Bryan Henderson
4th Berkeley Distribution April 19, 2000 PPMNTSC(1)