I'm using a .txt file filled with domain names for dig to use, the problem is that when i look at the results I get the query time for each individual query, I want to know how long it took in total for all queries to run, how can I achieve this? any help would be greatly appreciated, thank you. Here is the command I'm running btw:
Hi guys
I need to find out a file created at 'x' time and the name of the file is rag.rxt
100's of these files are created every minute and i dont know how to find the file created at a particular time. pls help me with the command to search that.
thanks in advance (2 Replies)
I wrote a very simple script to calculate the DB connection from an appserver and check the total netstat connection to a particular DB exceed 25 then it will send mail
netstat -a 2> /dev/null | awk '/.*ESTAB/{print $5}' | cut -d. -f1 | uniq -c | awk '{if ($1 > 25)print $2," exceed ",$1;}'
... (1 Reply)
Good afternoon! Im new at scripting and Im trying to write a script to
calculate total space, total used space and total free space in filesystem names matching a keyword (in this one we will use keyword virginia). Please dont be mean or harsh, like I said Im new and trying my best. Scripting... (4 Replies)
Hi Guys,
I just need a confirmation if what think i know is right .
dig yahoo.com
; <<>> DiG 9.7.0-P1 <<>> yahoo.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 27410
;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 0
... (1 Reply)
Hello,
I have one script which takes some time to complete.
I Need the total exact time taken by this script.
How can i modify this script.
Regards,
Sam. (21 Replies)
Hi Friend,
Need your help.
I have a file which has information of start time and End time . I need to find how much time takes to complete the job . how can I do it in unix command .
Example of Log file :
Start Loading ---Thu Aug 2 17:14:09 EDT 2012
Load... (5 Replies)
Hello,
I have 3 AIX 6.1 machines running INFORMIX 11.7 database engine.
One of these servers is the database server and the other 2 servers are connecting to it.
I am doing a test to determine the time of query execution between these servers and i see that in specific times one of these... (12 Replies)
Through find command I identified the files older that 1 year. I need the overall size utilizes by these 1 year older files. Please share me the command to identify it .Thanks
Please post in an adequate technical forum! (3 Replies)
Discussion started by: Sang
3 Replies
LEARN ABOUT SUNOS
wsreg_query_free
wsreg_query_create(3WSREG) Product Install Registry Library Functions wsreg_query_create(3WSREG)NAME
wsreg_query_create, wsreg_query_free - create a new query
SYNOPSIS
cc [flag ...] file ...-lwsreg [library ...]
#include <wsreg.h>
Wsreg_query *wsreg_query_create(void);
void wsreg_query_free(Wsreg_query *query);
DESCRIPTION
The wsreg_query_create() function allocates a new query that can retrieve components from the product install registry.
The wsreg_query_free() function releases the memory associated with the query specified by query.
RETURN VALUES
The wsreg_query_create() function returns a pointer to the newly allocated query. The resulting query is completely empty and must be
filled in to describe the desired component.
USAGE
The query identifies fields used to search for a specific component in the product install registry. The query must be configured and then
passed to the wsreg_get(3WSREG) function to perform the registry query.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|MT-Level |Unsafe |
+-----------------------------+-----------------------------+
SEE ALSO wsreg_get(3WSREG), wsreg_initialize(3WSREG), wsreg_query_set_id(3WSREG), wsreg_query_set_instance(3WSREG), wsreg_query_set_loca-
tion(3WSREG), wsreg_query_set_unique_name(3WSREG), wsreg_query_set_version(3WSREG), wsreg_unregister(3WSREG), attributes(5)SunOS 5.10 22 Sep 2000 wsreg_query_create(3WSREG)