11-28-2011
Actually its not allowed in production environment as we need to run through query id
Through backgroud id we can but we have to run it only through query id
So I am looking for an alternative to pipe
Regards,
Harish
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I need the unix command which returns only the file name and its creation date/time in unix.
I tried ls -l <filename>. But that is giving other details also which I do not want.
Could anyone help me out?
Thanks. (6 Replies)
Discussion started by: unipepper
6 Replies
2. Shell Programming and Scripting
Hi,
I'm trying to accomplish the following and would like some suggestions or possible bash script examples that may work
I have a directory that has a list of log files that's periodically dumped from a script that is crontab that are rotated 4 generations. There will be a time stamp that is... (4 Replies)
Discussion started by: primp
4 Replies
3. Solaris
Is there any way to get list of processes which are taking maximum swap , my system is showing no swap space in /var/adm/messages and i 'm unable to pin down the process which is consuming max swap space. (11 Replies)
Discussion started by: fugitive
11 Replies
4. UNIX for Dummies Questions & Answers
Hello.
I want to make an unix script which create a file with the name and the date of creation of the different files that there are in a directory.
Can do you please help me?
Thank you in advance. (3 Replies)
Discussion started by: Jfka
3 Replies
5. Shell Programming and Scripting
I would like to pipe (redirect ? - what is the right term?) the output of my script to a file named with the current date.
If I run this at a command prompt:
date +'%Y%m%d"
...it returns "20110429"
OK, that's good... so I try:
./script.sh > "'date +%Y%m%d'.csv"
I get a file... (1 Reply)
Discussion started by: landog
1 Replies
6. UNIX for Dummies Questions & Answers
i need to add a new field in a pipe delimited line. the field will be the current date today.
aa|a|s|w|1
as|oiy|oiy|oiy|2
given that all lines are uniformed in the number of fields
i want it to look like this:\
aa|a|s|w|1|20120126
as|oiy|oiy|oiy|2|20120126
please help :) (3 Replies)
Discussion started by: kokoro
3 Replies
7. UNIX for Dummies Questions & Answers
Let's say i have 20 users logged on Server. How can I know how much memory percent used each of them is using with system time in each user? (2 Replies)
Discussion started by: roy1912
2 Replies
8. AIX
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
9. Red Hat
I am facing issue related to performance of one customized application running on RHEL 5.9. The application stalls for some unknown reason that I need to track. For that I require some tool or shell scripts that can monitor the CPU usage statistics (what we get in TOP or in more detail by other... (6 Replies)
Discussion started by: Anjan Ganguly
6 Replies
10. UNIX for Beginners Questions & Answers
hi,
We have a huge directory that ha 5.1 Million files in it. We are trying to get the file name and modified timestamp of the most recent 3 years from this huge directory for a migration project.
However, the ls command (background process) to list the file names and timestamp is running for... (2 Replies)
Discussion started by: subbu
2 Replies
LEARN ABOUT SUNOS
wsreg_query_set_location
wsreg_query_set_location(3WSREG) Product Install Registry Library Functions wsreg_query_set_location(3WSREG)
NAME
wsreg_query_set_location, wsreg_query_get_location - set or get the location of a query
SYNOPSIS
cc [flag ...] file ...-lwsreg [library ...]
#include <wsreg.h>
int wsreg_query_set_location(Wsreg_query *query, const char *location);
char *wsreg_query_get_location(Wsreg_query *query);
DESCRIPTION
The wsreg_query_set_location() function sets the location specified by location in the query specified by query. If a location has already
been set in the specified query, the resources associated with the previously set location are released.
The wsreg_query_get_location() function gets the location string from the query specified by query.
RETURN VALUES
The wsreg_query_set_location() function returns a non-zero value if the location was set correctly; otherwise 0 is returned.
The wsreg_query_get_location() function returns the location from the specified query structure. The resulting location string is not a
copy, so it must not be released by the caller.
USAGE
The query identifies fields used to search for a specific component in the product install registry. By specifying the install location,
the component search is narrowed to all components in the product install registry that are installed in the same location.
Other fields can be specified in the same query to further narrow the search.
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_create(3WSREG), attributes(5)
SunOS 5.10 22 Sep 2000 wsreg_query_set_location(3WSREG)