Search Results

Search: Posts Made By: purdym
2,633
Posted By purdym
How about starting with uname -s? From...
How about starting with uname -s?

From there, based on the OS, run OS specific commands to get the information you need.
Forum: AIX 08-29-2011
4,919
Posted By purdym
I didn't write many of these. Many I have...
I didn't write many of these. Many I have modified for my environment. If you need something specific I might be able to help...



...
Forum: AIX 08-26-2011
4,919
Posted By purdym
Do you have an account / log in to the TSM...
Do you have an account / log in to the TSM server? I can post some queries that might help.
4,287
Posted By purdym
AFAIK, you'll have to do this (in ksh 88): ...
AFAIK, you'll have to do this (in ksh 88):

#!/bin/ksh
version_major=2
version_minor=2
echo "version is $version_major.${version_minor}"
if [[ $version_major -ge 2 && $version_minor -ge 1 ]]·...
Forum: AIX 08-24-2011
4,199
Posted By purdym
Start with: smitty nfs then: Network...
Start with:

smitty nfs

then: Network File System (NFS)

then: Add a Directory to Exports List
4,287
Posted By purdym
You can't do real number comparisons. -ge is for...
You can't do real number comparisons. -ge is for integers.
17,188
Posted By purdym
Seriously? You're logged into a Unix server, and...
Seriously? You're logged into a Unix server, and some echo command opens a command prompt on your windows machine. I'd like more information.

The only way to get a file from Unix to windows is to...
10,328
Posted By purdym
Cool, but I don't see that command on AIX or...
Cool, but I don't see that command on AIX or HP-UX.
10,328
Posted By purdym
Q: ALSO: How do I get the PID of the running...
Q: ALSO: How do I get the PID of the running process, that is say I call my script safe_ssh, how do I get the PID of safe_ssh from within safe_ssh. I assume it must be straight forward but do not...
2,320
Posted By purdym
In ksh(88), you can not use less than as '<'. ...
In ksh(88), you can not use less than as '<'.

integer i=0
while ((i < $NO_OF_COUNT));
do
(( i = i + 1));
echo 'Entering into Loop..'


Try -lt.

You appear to be mixing ksh88 and...
29,750
Posted By purdym
First, the 'sets' need to be within the sql plus...
First, the 'sets' need to be within the sql plus call:

sqlplus -s DB/USER@PW << ENDOFSQL
set echo off
set verify off
set termout off
set feedback off

set pagesize 0
spool $logFile...
17,188
Posted By purdym
Not exactly what you want but...I did this by...
Not exactly what you want but...I did this by installing an ftp server on my windows machine. After that you can easily put the files on to the windows machine from the unix server.
12,787
Posted By purdym
I'd suggest that the script should exit if the...
I'd suggest that the script should exit if the user enters an invalid option.

However, I can think of a way around this.

---------- Post updated at 09:20 AM ---------- Previous update was at...
12,787
Posted By purdym
Are you saying you want to print a nice error...
Are you saying you want to print a nice error message when the user enters an invalid option?
12,787
Posted By purdym
Why don't you just add 'u:' to getopts? ...
Why don't you just add 'u:' to getopts?

while getopts "n:g:m:i:u:d:a:" OPTION
34,420
Posted By purdym
Try 'find' with 'mtime'.
Try 'find' with 'mtime'.
Forum: AIX 08-02-2011
11,444
Posted By purdym
I'm thinking you want to use: Password CHECK...
I'm thinking you want to use: Password CHECK METHODS

I just don't know how.
Forum: AIX 08-02-2011
3,048
Posted By purdym
I used to use qpage to do this.
I used to use qpage to do this.
2,198
Posted By purdym
KSH: >CODE=ab >echo jobnm_${CODE}_xyz_001 ...
KSH:

>CODE=ab
>echo jobnm_${CODE}_xyz_001
jobnm_ab_xyz_001
3,805
Posted By purdym
I'm sure excel can't show more than 64k lines....
I'm sure excel can't show more than 64k lines. Use a better program than Excel. Or split the file.

split Command

Purpose

Splits a file into pieces.

Syntax

To Split a File Into...
12,974
Posted By purdym
Did you type hdisk5 by mistake? Or did you edit...
Did you type hdisk5 by mistake? Or did you edit the post? Why is it hdisk50 and then hdisk5?

root:/home/root # extendvg rootvg hdisk5
0516-1254 extendvg: Changing the PVID in the ODM.
0516-1397...
2,284
Posted By purdym
Here is the issue: the SQR program itself it not...
Here is the issue: the SQR program itself it not failing: therefore zero return code.

Your script is failing. You need to test for the failure conditions and have your script output an appropriate...
2,284
Posted By purdym
Hi nagavenkatesh...
Hi nagavenkatesh (https://www.unix.com/members/302099239.html),

You are using SQR with sybase? Can you post what you have, I might be able to help.
Forum: AIX 07-07-2011
8,246
Posted By purdym
root@vioprod2:/>lsattr -El sys0 | grep realmem ...
root@vioprod2:/>lsattr -El sys0 | grep realmem
realmem 1048576 Amount of usable physical memory in Kbytes False
root@vioprod2:/>
15,066
Posted By purdym
If you want to grep for A and B: grep A | grep...
If you want to grep for A and B:
grep A | grep BIf you want to grep for A or B:
egrep "A|B"If you want to grep for (A or B) and C:
egrep "A|B" | grep CUse egrep for 'or' and | grep for 'and'.
Showing results 1 to 25 of 162

 
All times are GMT -4. The time now is 09:11 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy