Unix/Linux Go Back    

Showing results 1 to 25 of 500
Search took 0.10 seconds.
Search: Posts Made By: Peasant
Forum: Shell Programming and Scripting Linux 4 Days Ago
Replies: 4
Views: 281
Posted By Peasant
I'm not sure what are you testing ? Was the...

I'm not sure what are you testing ?

Was the insert successfull ?
Execution of the sqlplus ?

sqlplus will return 0 (success) if a insert, for instance, fails due to a constraint.

Check if...
Forum: Solaris Linux 6 Days Ago
Replies: 4
Views: 223
Posted By Peasant
Have you used /tmp as a destination of the copy ?...

Have you used /tmp as a destination of the copy ?

On Solaris systems /tmp filesystem is free memory + swap, so you perhaps used that filesystem, filling it up.

Regards
Peasant.
Forum: UNIX for Beginners Questions & Answers Linux 1 Week Ago
Replies: 6
Views: 207
Posted By Peasant
Good thing to mention that some of find command...

Good thing to mention that some of find command options are exclusive to gnu find.
You haven't mentioned your operating system, so a script provided may or may not work.

Also, there are strict...
Forum: UNIX for Beginners Questions & Answers Linux 1 Week Ago
Replies: 9
Views: 291
Posted By Peasant
Lets say we have two machines with simplified...

Lets say we have two machines with simplified memory status :

10 GB ram, 5 GB buffers & cache, 5 GB free completely.
10 GB ram, 1 GB buffers & cache (lets say you enforce those), 9 GB free...
Forum: UNIX for Advanced & Expert Users Linux 1 Week Ago
Replies: 8
Views: 429
Posted By Peasant
On systemd mount output is even worse on linux...

On systemd mount output is even worse on linux systems.

Debian home system, multiuser, hot seat, two gpu and 2 independent users.
There is one volume group (root) with one lvol and separate disk...
Forum: UNIX for Beginners Questions & Answers Linux 2 Weeks Ago
Replies: 3
Views: 230
Posted By Peasant
It is significant. The subshell call ...

It is significant.

The subshell call message=$("this is my message $var whatever $othervar") will fail with command not found error.

There is also an issue with subshell call, which will not...
Forum: AIX Linux 2 Weeks Ago
Replies: 6
Views: 262
Posted By Peasant
Not an AIX export but you could try to... 1....

Not an AIX export but you could try to...

1. Failover a path to working path only (is possible dunno in aix, probably is).
2. Change the cable for faulty path.

I've debuged HPUX boxes with...
Forum: What is on Your Mind? Linux 2 Weeks Ago
Replies: 6
Views: 516
Posted By Peasant
Obligatory : ...

Obligatory :

https://image.ibb.co/d5qDNG/shadow_inside.jpg (https://imgbb.com/)
Forum: Shell Programming and Scripting Linux 2 Weeks Ago
Replies: 5
Views: 940
Posted By Peasant
For instance can a simple example help : ...

For instance can a simple example help :

exec ${command} ${command_parameters} 1>> my._$(date +%s)_$$.log 2>> my._$(date +%s)_$$.err


Can you specify your problem to more detail ?
What do you...
Forum: Fedora Linux 4 Weeks Ago
Replies: 6
Views: 403
Posted By Peasant
No need to uninstall anything. Install the...

No need to uninstall anything.

Install the required oracle java using rpm.
Using alternatives command as superuser one can change the default java used.

Bare in mind, that perhaps some...
Forum: Shell Programming and Scripting Linux 12-12-2017
Replies: 9
Views: 395
Posted By Peasant
Check your database configuration for sql login...

Check your database configuration for sql login details.
Probably the password is written in my.cnf file under user or globally in /etc/my.conf

I found this info online, i'm more of a postgresql...
Forum: Solaris Linux 12-12-2017
Replies: 4
Views: 3,734
Posted By Peasant
Glad you got it working. A couple of things...

Glad you got it working.

A couple of things you should notice.

You only need VLAN (dladm create-vlan) interface for the hypervisor IP address.
I would recommend using seperate VLAN id for...
Forum: Solaris Linux 12-12-2017
Replies: 4
Views: 3,734
Posted By Peasant
Do not create vlan interface (dladm create-vlan...

Do not create vlan interface (dladm create-vlan ..).
Delete that interface.

If using VLAN tagging add the virtual switch in this manner :

ldm add-vsw net-dev=net0 pvid=1, vid=503...
Forum: Solaris Linux 12-05-2017
Replies: 9
Views: 415
Posted By Peasant
/tmp seems awfully small in the output above. ...

/tmp seems awfully small in the output above.

Is this machine under heavy load memory wise ?

Please post the output of :
echo "::memstat" | mdb -k

Check dmesg for unable to fork errors...
Forum: HP-UX Linux 12-01-2017
Replies: 3
Views: 623
Posted By Peasant
/etc/shadow does not exist by default on HPUX...

/etc/shadow does not exist by default on HPUX system.

It is an additional install, and it should be done to harden the security, if required.
Otherwise, any user on the system can copy the...
Forum: Solaris Linux 12-01-2017
Replies: 6
Views: 395
Posted By Peasant
Why change those files in such manner for entire...

Why change those files in such manner for entire system ?

You need a certain locale for your application / database ?
Create a user to run app / db and change locale for that user, not system...
Forum: Shell Programming and Scripting Linux 12-01-2017
Replies: 19
Views: 437
Posted By Peasant
I do not think fear of change is closely related...

I do not think fear of change is closely related to age.

People are inherently afraid of changes.
Changes like jobs, partners, living space etc.
The IT is no different.

Problem nowadays is...
Forum: Solaris Linux 11-28-2017
Replies: 7
Views: 679
Posted By Peasant
Is it always 13 sec or can be longer (even...

Is it always 13 sec or can be longer (even forever) ?
In most occasions such errors were no memory to fork or resolving (DNS) issue.

If it's always 13 sec, should be DNS releated.
Rebooting the...
Forum: Shell Programming and Scripting Linux 11-27-2017
Replies: 20
Views: 417
Posted By Peasant
A simple ps (by Yoda) and sort should fill your...

A simple ps (by Yoda) and sort should fill your requirement :

ps -eo "%c,%U,%C,%n" | sort -t"," -n -k 3,3


Change the values you want from ps, delimited by comma for additional info.

sort...
Forum: UNIX for Beginners Questions & Answers Linux 11-23-2017
Replies: 10
Views: 473
Posted By Peasant
Portable, in ways as ksh93 could be easily...

Portable, in ways as ksh93 could be easily installed anywhere.
While gnu date would require much more effort and disk space.

So if i had a date manipulation requirement in script across a...
Forum: Solaris Linux 11-23-2017
Replies: 7
Views: 448
Posted By Peasant
Yes, you should be running configuration saves to...

Yes, you should be running configuration saves to SP.
You can do it from crontab via script or manually after configuration change.

There are also some automatic options which i never explored.
...
Forum: UNIX for Beginners Questions & Answers Linux 11-22-2017
Replies: 4
Views: 167
Posted By Peasant
There is also an option running in screen session...

There is also an option running in screen session logging the output.

screen -L -Logfile $HOME/mysession.log -S yumscreen
# do your update
exit


Look for the file $HOME/mysession.log or...
Forum: UNIX for Beginners Questions & Answers Linux 11-22-2017
Replies: 10
Views: 473
Posted By Peasant
Have you considered ksh93 shell builtin printf...

Have you considered ksh93 shell builtin printf date options ?
I have found that to be quite portable across operating systems.

Relaying on GNU date is worst then relaying on ksh93 in my opinion...
Forum: Shell Programming and Scripting Linux 11-22-2017
Replies: 6
Views: 407
Posted By Peasant
Don't underestimate the power of the dark side...

Don't underestimate the power of the dark side rovf :D

Problem here lies in to many nesting stuff and many pipes not the language.
for i in $( find | grep | sed | awk )

When you see shell...
Forum: Solaris Linux 11-22-2017
Replies: 7
Views: 448
Posted By Peasant
This is strange behavior. Such systems should...

This is strange behavior.
Such systems should never lose configuration in that manner (reset to factory).

This would indicate issues with ILO, since configuration is saved there, and retrieved by...
Showing results 1 to 25 of 500

 


All times are GMT -4. The time now is 04:41 PM.