Sponsored Content
Top Forums Shell Programming and Scripting Performance Metrics using wget Post 302514002 by Corona688 on Thursday 14th of April 2011 01:17:58 PM
Old 04-14-2011
Quote:
Originally Posted by rob171171
so when I run
Code:
 /usr/bin/wget www.youtube.com/watch?v-qxd2vXrZ5pk

it should take same time to stream, i.e 1m 32 secs however the reposne i get back in my log file takes about 2-3 secs
That gets the webpage. The streaming content isn't part of the document, the same way files linked by
Code:
<img src="http://path/to/whatever.jpg">

tags aren't -- it's somewhere else.

Unfortunately the element between the webpage and the streaming content isn't a simple src="path/to/video.flv" but handled obscurely through Adobe Flash Player via means I don't entirely understand. Not always the same means either, it seems to change sometimes(probably to break youtube downloader programs)... Most youtube downloaders get the URL from the web browser itself, since the browser has to be told it one way or another to download it...

Last edited by Corona688; 04-14-2011 at 02:26 PM..
 

7 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Unix Metrics

Hi, Does anyone know of any programs that can create Unix (Solaris) server metrics such as server uptime, services uptime, processor utilization by hour by day, memory utilization by hour by day, active users by hour by day, etc? Thanks! (2 Replies)
Discussion started by: ghuber
2 Replies

2. UNIX for Advanced & Expert Users

I/O Stats Metrics

What do others use for measuring I/O statistics? I'd like something versatile, as in being able to watch (like iostat, but easier to trend), generate load (like iozone, but more realistic), and perform somewhat generalized benchmarks (like bonnie, but more current.) It would scale from a few... (0 Replies)
Discussion started by: LivinFree
0 Replies

3. UNIX for Dummies Questions & Answers

Comparator or metrics tool - options

Hi all, I am looking for some open source comparator or metrics generator kind of tool. I am sure this is not something new that am asking and probably some of you would have already made use of that in your daily work. ... (2 Replies)
Discussion started by: matrixmadhan
2 Replies

4. Linux

wget performance

I am looking for a way to measure performance metrics of streaming audio/video from a contecnt server, e.g. YouTube for example. Im keen to see if I can look at duration it took for contecnt to download. I know from the output of wget's log file you can see duration a url is downloaded in.... (6 Replies)
Discussion started by: rob171171
6 Replies

5. AIX

Performance metrics between Dual Storage IOA versus other drive configurations

Greetings! We ordered a bunch of P7s as part of a hardware upgrade and I was made aware of the Dual Storage IOA configuration. This is something we hadn't fully considered and I was wondering if anyone had done any performance tests using this setup. All our IBM rep told us was "it's slower" and... (1 Reply)
Discussion started by: Mike Brendan
1 Replies

6. AIX

Help Analyzing AIX System Metrics

Hi Guys, I need some help analyzing the attached metrics. System context is 2 LPAR's in a P795 running WebSphere App Server across 4 nodes (2 on each LPAR). Over the weekend both LPAR's lost power and upon re-start the application server response times have degraded by 25-30% for no obvious... (1 Reply)
Discussion started by: mgburns
1 Replies

7. Shell Programming and Scripting

Wget - working in browser but cannot download from wget

Hi, I need to download a zip file from my the below US govt link. https://www.sam.gov/SAMPortal/extractfiledownload?role=WW&version=SAM&filename=SAM_PUBLIC_MONTHLY_20160207.ZIP I only have wget utility installed on the server. When I use the below command, I am getting error 403... (2 Replies)
Discussion started by: Prasannag87
2 Replies
PMLOOKUPINDOMTEXT(3)					     Library Functions Manual					      PMLOOKUPINDOMTEXT(3)

NAME
pmLookupInDomText - return text describing a performance metrics instance domain C SYNOPSIS
#include <pcp/pmapi.h> int pmLookupInDomText(pmInDom indom, int level, char **buffer); cc ... -lpcp DESCRIPTION
Provided the source of metrics from the current Performance Metrics Application Programming Interface (PMAPI) context is a host, retrieve descriptive text about the performance metrics instance domain identified by indom. The value for the instance domain indom is typically extracted from a pmDesc structure, following a call to pmLookupDesc(3) for a particu- lar performance metric. The argument level should be PM_TEXT_ONELINE for a one-line summary, else PM_TEXT_HELP for a more verbose description, suited to a help dialog. The space pointed to by buffer will have been allocated in pmLookupInDomText with malloc(3C), and it is the responsibility of the caller to free(3C) the space when it is no longer required. pmLookupInDomText returns zero on success. SEE ALSO
chkhelp(1), newhelp(1), PMAPI(3), pmGetConfig(3), pmLookupDesc(3), pmLookupText(3), pcp.conf(5) and pcp.env(5). DIAGNOSTICS
PM_ERR_NOTHOST if the current PMAPI context is an archive log (help and one-line text is not maintained in the archive logs) Performance Co-Pilot PCP PMLOOKUPINDOMTEXT(3)
All times are GMT -4. The time now is 02:16 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy