Sponsored Content
Full Discussion: What does this mean?
Top Forums Shell Programming and Scripting What does this mean? Post 302866387 by manands07 on Tuesday 22nd of October 2013 12:04:01 AM
Old 10-22-2013
Thanks for your replies guys Smilie

Below is a simple perl code . . Check it out . .


Code:
 
#! usr/bin/perl
use POSIX;
use strict;
use warnings;
my $file = $ARGV[0];
open FILE,'<', $file;
while (my $line = <FILE>){print $line;}
my $var = 5;
print $var;

it gave me

Code:
 
0.355u 1.00s 0:1.01 110.2% 0+0k 0+0io 0pf+0w

on the terminal, after printing the contents of the file that I've given as ARGV[0] . .
And yes, that file does not contain the above line . .

uname -a gives,
Code:
 
Linux <username> 2.6.18-274.3.1.el5 #1 SMP <date & time> x86_64 GNU/Linux

I am using Redhat 5.0 . .

Also, time sleep 10 gives,
Code:
 
0.000u 0.000s 0:10.00 0.0% 0+0k 0+0io 0pf+0w

so I guess you're on right track, Corona688

So, What does the rest four fields signify?

Thanks,
-MD

Last edited by Scrutinizer; 10-23-2013 at 04:12 AM.. Reason: code tags instead of quote tags
 
mimms(1)						      General Commands Manual							  mimms(1)

NAME
mimms - mms (e.g. mms://) stream downloader SYNOPSIS
mimms [options] <url> [filename] DESCRIPTION
mimms is a program designed to allow you to download streams using the MMS protocol and save them to your computer, as opposed to watching them live. Similar functionality is available in full media player suites such as Xine, MPlayer, and VLC, but mimms is quick and easy to use and, for the time being, remains a useful program. OPTIONS
--version show program's version number and exit -h, --help show this help message and exit -c, --clobber automatically overwrite an existing file -r, --resume attempt to resume a partially downloaded stream -b BANDWIDTH, --bandwidth=BANDWIDTH the desired bandwidth for stream selection in BANDWIDTH bytes/s -t TIME, --time=TIME stop downloading after TIME minutes -v, --verbose print verbose debug messages to stderr -q, --quiet don't print progress messages to stdout URLS
mimms supports only URLs that are supported by libmms, e.g. mms://, mmsh://, mmst://. Previous versions tried to do fancy things with http:// URLs and .asx files, but this version does not (yet?) support that. AUTHOR
Wesley J. Landaker <wjl@icecavern.net> mms stream downloader 2008-04-06 mimms(1)
All times are GMT -4. The time now is 09:36 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy