10-30-2009
Fetch selected data from webpage
Hi All,
Can anybody tell me the command used for extracting some selected lines from
a web-page. I guess we'll have to do this using wget or Curl to achieve this....
If anbody has any idea abt it, kindly post your reply ASAP.
Thanks.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
There is a link from were I usually search somthing and fetch the data from.
Is there any way to automate it through a script if I mention search criteria in a note pad.
I mean the script to search the content on the notepad and resutls should be placed into another file.
... (2 Replies)
Discussion started by: indradev
2 Replies
2. Shell Programming and Scripting
Hi Guys,
I have the data in below format.
25 Dec 2011 03:00:01 : aaaaaaaaaaaaaaa
25 Dec 2011 04:23:23 : bbbbbbbbbbbbbbb
25 Dec 2011 16:12:45 : ccccccccccccccc
26 Dec 2011 04:45:34 : ddddddddddddddd
26 Dec 2011 17:01:22 : eeeeeeeeeeeeeee
27 Dec 2011 12:33:45 : ffffffffffffffffffffffff
28... (13 Replies)
Discussion started by: jaituteja
13 Replies
3. Shell Programming and Scripting
Hi,
I got a requirement to fetch data between two time stamps in a big log file and grep for a word in that particular time interval of data.
Here is my log looks like:
2012/04/08-14:35:56 Abcdefg
2012/04/08-14:35:56 Hijklmnophhoishfw
2012/04/08-14:35:56... (1 Reply)
Discussion started by: siri_886
1 Replies
4. Shell Programming and Scripting
I want to fetch value from a particular location from a file but in each line in the file it appears at a different position so i tried using variable with cut command but it is not working properly. The code i have written is
#!/bin/sh
cat Sri1.log |
while read d2
do
grep -w... (9 Replies)
Discussion started by: Prachi Gupta
9 Replies
5. Shell Programming and Scripting
Hi All,
I m new to this forum & UNix too.
currently i have a requirement which can fetch data from a logfile between two dates or timestamp.
for example:
1. data from 2012 Jun to 2012 Jul
2. data from 2012 Jun to 2012 Jul 07
3. data from 2012 Jun 16 10:20 to 2012 Jul 03 10:10
Please... (7 Replies)
Discussion started by: KDMishra
7 Replies
6. UNIX for Dummies Questions & Answers
Hi All,
I have a file with the below data as shown.
A|2|20120430
B|EMP|NAME|DEPT
C|12|SARC|01
C|23||ASDD|02
D|END OF FILE
I want to fetch only the records that contains C|, what is unix command to fetch this data.
Thanks (5 Replies)
Discussion started by: halpavan2
5 Replies
7. Shell Programming and Scripting
Hi Guys,
Am in need of your help one more time on my real data.
I have a file which contains more than thousand lines of data
Live data shown for 4 iterations. We have more than thousand lines of data:-
--------------------------------------------------------------------------
... (4 Replies)
Discussion started by: rocky2013
4 Replies
8. Shell Programming and Scripting
Hi Team,
I m getting my script commands output like given below
GETA-TILL-INF;
U-UU-YRYT-NOD-6002 2015-05-14 THU 19:44:10
C2221 RETRIEVE TILL INFORMATION : COMPLD
----------------------------------------------------------------------
CONNECT_CARD_ID ... (9 Replies)
Discussion started by: Ganesh Mankar
9 Replies
9. UNIX for Beginners Questions & Answers
Hi ,
I have a file which contains 2 days logs(here it is 24 and 25)
I want to list data only for date 25 fron the file.
please suggest me how should i get this.
file content mentioned below
17-05-24 Name Succ Fail
00:00:29 ... (5 Replies)
Discussion started by: scriptor
5 Replies
10. Shell Programming and Scripting
Hi,
I am new to scripting. I have a log file and need to fetch specific logs and copy to another file.
A copy of the log is like this:
===============================================================
= JOB : server123#jobs1.jobstream1
= USER : andyc
= Tue 08/01/17... (3 Replies)
Discussion started by: Prngp
3 Replies
LEARN ABOUT DEBIAN
hobbit-hostgraphs.cgi
HOBBIT-HOSTGRAPHS.CGI(1) General Commands Manual HOBBIT-HOSTGRAPHS.CGI(1)
NAME
hobbit-hostgraphs.cgi - CGI program to show multiple graphs
SYNOPSIS
hobbit-hostgraph.cgi
DESCRIPTION
hobbit-hostgraph.cgi is invoked as a CGI script via the hobbit-hostgraph.sh CGI wrapper.
If no parameters are provided when invoked, it will present a form where the user can select a time period, one or more hosts, and a set of
graphs.
The parameters selected by the user are passed to a second invocation of hobbit-hostgraph.cgi, and result in a webpage showing a list of
graph images based on the trend data stored about the hosts.
If multiple graph-types are selected, hobbit-hostgraph.cgi will display a list of graphs, with one graph per type.
If multiple hosts are selected, hobbit-hostgraph.cgi will attempt to display a multi-host graph for each type where the graphs for all
hosts are overlayed in a single image, allowing for easy comparison of the hosts.
The hostlist uses the PAGEPATH cookie provided by Xymon webpages to select the list of hosts to present. Only the hosts visible on the page
where hobbit-hostgraph.cgi is invoked from will be visible.
The resulting graph page can be bookmarked, but the bookmark also fixates the time period shown.
OPTIONS
--env=FILENAME
Loads the environment defined in FILENAME before executing the CGI script.
BUGS
This utility is experimental. It may change in a future release of Xymon.
It is possible for the user to select graphs which do not exist. This results in broken image links.
The set of graph-types is fixed in the server/web/hostgraphs_form template and does not adjust to which graphs are available.
If the tool is invoked directly, all hosts defined in Xymon will be listed.
SEE ALSO
bb-hosts(5), hobbitserver.cfg(5)
Xymon Version 4.2.3: 4 Feb 2009 HOBBIT-HOSTGRAPHS.CGI(1)