Search Results

Search: Posts Made By: Neo
Forum: Shell Programming and Scripting 16 Hours Ago
151
Posted By RudiC
"asap" is a term highly deprecated in these...
"asap" is a term highly deprecated in these fora...



With either script, I get

rl 3 xpicrecovery 5 5
rl 4 xpicrecovery 5 5
rl 5 xpicrecovery 5 5


We need more to start analysing. Is it...
Forum: OS X (Apple) 10 Hours Ago
67
Posted By wisecracker
Generate a random number in a fully POSIX compliant shell, 'dash'...
Hi all...
Apologies for any typos, etc...
This took a while but it didn't beat me...

Although there are many methods of generating random numbers in a POSIX shell this uses integer maths and a...
180
Posted By kbrazil
Fun with terminal plotting JSON data at the command line
One of the great thing about unix is the ability to pipe multiple programs together to manipulate data. Plain, unstructured text is the most common type of data that is passed between programs, but...
131
Posted By Peasant
Check out this example, and apply it to your...
Check out this example, and apply it to your enviroment.


[root@box ~]# id goprog
uid=1000(goprog) gid=1000(goprog) groups=1000(goprog)
[root@box ~]# id jboss
uid=666(jboss) gid=666(jboss)...
179
Posted By MadeInGermany
Obviously the default timeout is too high. Add...
Obviously the default timeout is too high.
Add two lines to /etc/resolv.conf
options timeout:2
options attempts:2

These values will give a total delay of 2 * 2 = 4 seconds when the first DNS...
179
Posted By Peasant
I've seen this mostly related to DNS query...
I've seen this mostly related to DNS query timeouts setup from client side.
The defaults are quite high on most linux/unix operating system, from AIX man page online :


In practice if you have,...
163
Posted By Peasant
Check firewall-cmd or iptables -L (depending on...
Check firewall-cmd or iptables -L (depending on linux release and type) rules for specific rules, containing IP addresses in questions.
This should help, if linux firewall is used.

If not, other...
163
Posted By nezabudka
Hi Maybe this will help? ss -t -o state...
Hi
Maybe this will help?
ss -t -o state established

--- Post updated at 16:07 ---

ss -t -o state connected
ss -t -o state synchronized
Forum: AIX 2 Days Ago
292
Posted By zxmaus
yes you are correct - that is why I asked...
yes you are correct - that is why I asked yesterday what you meant with open - for both disks you get output - so the disks are open - so correctly zoned and readable/writable.

As stated before,...
169
Posted By MadeInGermany
The -H is specific to GNU ps (Linux). It does...
The -H is specific to GNU ps (Linux).
It does an indentation (two spaces per hierarchy level) without any ASCII art. This is easy to post-process i.e. filter for the releavant parts.
155
Posted By RudiC
Don't worry, your overcomplicated regex doesn't...
Don't worry, your overcomplicated regex doesn't match anything reasonable in your file, if that is what you're after (not clear from your spec). Even uncommented lines with # removed (which I added...
155
Posted By RudiC
[^[:blank:]#;] # ONE char non-blank,...
[^[:blank:]#;] # ONE char non-blank, non-#, non-;
169
Posted By nezabudka
Hi As I understand it a linux "pstree" My...
Hi
As I understand it a linux "pstree"
My five cents.
It comes with a built-in pager
systemd-cgls
Another option
ps xawf -eo pid,user,cgroup,args
169
Posted By stomp
I'd like to mention --forest option of ps which I...
I'd like to mention --forest option of ps which I use regularly under linux.

It lacks the here mentioned feature to show only the tree concerning a special pid.

ps ax --forest...
2406 ? ...
169
Posted By MadeInGermany
[Tip] ptree for Linux
Unix (and Linux) uses a process tree that gives a natural security, by simple inheritance of attributes.

The following ptree script shows it. It runs on all Linux flavors.
Mostly useful for...
Forum: AIX 3 Days Ago
292
Posted By zxmaus
if you do this on ASM disks or gpfs disks you are...
if you do this on ASM disks or gpfs disks you are wiping the header. The device will stay up til your next reboot and be beautiful and clean after the reboot so this is a terrible idea.

You do get...
Forum: AIX 4 Days Ago
292
Posted By zxmaus
please try these two commands - if you get an...
please try these two commands - if you get an error the disk is closed, if you get any content, the disk is open / readable
readvgda /dev/hdiskX
and
lqueryvg -At -p hdisk0
241
Posted By RavinderSingh13
Thank you :) For your questions, why a[$1]...
Thank you :)

For your questions, why a[$1] didn't throw errors because if any variable is NOT initialized in awk and we are using it in any condition or etc then its value will be considered as...
466
Posted By mohtashims
@Neo Hi, Thank you for the reply. I...
@Neo Hi,

Thank you for the reply.

I was not sure if my approach is good / correct and hence did not share the attempts made.

I have updated my original post with the code of what I tried.
324
Posted By zxmaus
I would suggest first and foremost that you...
I would suggest first and foremost that you upgrade ssh on the AIX box to something a little newer than a 7 year old unsupported ssh version that is known full of bugs.
Second, the ssh keys you seem...
290
Posted By blackrageous
Your parameters seem to actually be $5 and $6. ...
Your parameters seem to actually be $5 and $6. You can do something like...

awk '{printf("%5s%10s\n",$5,$6)}' <filename>

or

awk '{printf("%-5s%10s\n",$5,$6)}' <filename>
319
Posted By blackrageous
This code seems to run ok...here's the output I...
This code seems to run ok...here's the output I get when run on my Linux system..


current wavelength is: 0.7
current radius is: 1.0
current lwp is: 39.999
pp_LWP_39.999_Re_1.0_wav_0.7.prp...
Forum: HP-UX 2 Weeks Ago
663
Posted By vbe
Greetings I think the last CD for HPUX 10.20 is...
Greetings
I think the last CD for HPUX 10.20 is of 2001 but could be 2003 but these were mostly security patches the last bundle with upgrades etc. were of 1999 now it may be that for 775 you had a...
Forum: HP-UX 2 Weeks Ago
663
Posted By KeithM
HPUX 10.20 SCSI Hardware Drivers
I own a 1999 vintage HP Logic Analyzer that runs HPUX 10.20. It is a 9000/775/rock system similar to a Visualize C132L/160L system.


I'm attempting, mostly for the fun of it, to upgrade the...
125
Posted By blackrageous
I recommend coming up with something you've tried...
I recommend coming up with something you've tried to move things along; otherwise, this seems a bit vague. For example, something like this....


find <particular-path> -name...
Showing results 1 to 25 of 500

 

Featured Tech Videos

All times are GMT -4. The time now is 04:47 AM.
Unix & Linux Forums Content Copyright 1993-2020. All Rights Reserved.
Privacy Policy