Search Results

Search: Posts Made By: jimbob01
Forum: Solaris 01-31-2020
12,229
Posted By jimbob01
Hi Neo, Thanks for your reply. How...
Hi Neo,

Thanks for your reply.

How would I go about compiling as a static binary? It's not something I've done before and not something I've seen in the samba docs.

Cheers, Jim
Forum: Solaris 01-30-2020
12,229
Posted By jimbob01
Samba compile issue on Solaris 9
Hi all :)

I've been given a task to try and upgrade Samba on our legacy Solaris 9 (SunOS 5.9) sparc system. Its currently running samba 3.5.3 but we'd like to try and install 3.6.0 (or 3.6.25) to...
64,287
Posted By jimbob01
Are you running this from the cron ? if so, you...
Are you running this from the cron ? if so, you may need to define the bash profile at the top of the script for the user running. Add this line to the top of the script (after hash bang line):

....
2,072
Posted By jimbob01
Init scripts missing . . .
One of our VM machines mysteriously went read-only overnight and as it wasn't being used, thought it would be a good idea to reboot the machine and run fsck on boot, well. . . .. things didn't quite...
2,172
Posted By jimbob01
Daemon monitoring
I'm wondering if there's any way to monitor daemons in such a way that if a daemon stops running (e.g. crond, xinetd etc etc), it logs the time and date (and process id) of the stopped daemon ?
...
2,365
Posted By jimbob01
Thanks guys! Brilliant - I've been tearing my...
Thanks guys! Brilliant - I've been tearing my hair out (well, whats left of it!) wondering how I couldn't get it to work, should have stopped by earlier.

You guys rock! :cool:
2,365
Posted By jimbob01
Bash - OR within an IF statement
Hey guys,

Currently trying to write a wee script that runs only when logged in as one of two users. The rest of the script is working fine, but no matter what user I try to run it as, it always...
Forum: Fedora 12-09-2012
3,571
Posted By jimbob01
Thanks for your reply, DukeNuke2. I've read...
Thanks for your reply, DukeNuke2.

I've read that before, and found it a good starting point. However, I am still a bit confused!

My hard drive is 500GB, and I only need say around 50GB for the...
Forum: Fedora 12-09-2012
3,571
Posted By jimbob01
Creating Windows 7 image to run in VirtualBox
Hey guys,

Not sure if this is the best place for this question, but, after using Fedora now for about a year, I'm still getting used to it but I'm using it practically all the time now and instead...
Forum: Infrastructure Monitoring 12-09-2012
4,345
Posted By jimbob01
Jethro, You could look at using and...
Jethro,

You could look at using and configuring the check_multi (http://exchange.nagios.org/directory/Plugins/Others/check_multi/details) plugin for Nagios.
3,649
Posted By jimbob01
bakunin - thanks for your reply. Once the issue...
bakunin - thanks for your reply. Once the issue happens again, I'll post the output of vmstat. It's a peculiar problem in that it could happen today and then not happen again for a day, a week or a...
3,649
Posted By jimbob01
Thanks for your reply, bakunin. The...
Thanks for your reply, bakunin.

The application itself is run under root and it's ulimit is unlimited. When the application drops it's connection, it constantly attempts to reconnect and just logs...
3,649
Posted By jimbob01
Threshold for open connections
Hey guys,

We've been having issues on one of our CentOS 6 servers and one of the java programs that runs on it. As the software hasn't caused issues in the past, I'm wondering if its a problem...
6,108
Posted By jimbob01
Hi Guys, Thanks for the help Dave. ...
Hi Guys,

Thanks for the help Dave.

vgersh99 - thanks!!! That worked a treat, exactly what I was after. :)


Thanx

Jim
6,108
Posted By jimbob01
Hi Dave, Thanks for your reply. I've...
Hi Dave,

Thanks for your reply.

I've tried that, and it works fine - however, if I substitue the number for my variable then it fails with a syntax error, like:'{printf("%d", ${USAGEPERCENT} *...
6,108
Posted By jimbob01
Hi Dave, Thanks for your reply. Yeah,...
Hi Dave,

Thanks for your reply.

Yeah, that's ideally what I'm trying to do! Later on in my script, i'm using '-gt' to find if the usage is greater than 90%, and it's failing then because '-gt'...
6,108
Posted By jimbob01
Hi Guys, Thanks for your replies (damned...
Hi Guys,

Thanks for your replies (damned internet connection been down *shakes fist*).

Anyway, I've tried the ideas on here but still can't seem to get it to work. If I try the following...
6,108
Posted By jimbob01
Sorry Alister, but you've just confused me!...
Sorry Alister, but you've just confused me! :confused:
6,108
Posted By jimbob01
Hi birei, Thanks for your reply. I've...
Hi birei,

Thanks for your reply.

I've tried something similar before, but I'm doing a calculation of two integer values in an array. I've got a script that runs that takes data into a file and...
6,108
Posted By jimbob01
using awk to strip out decimal point and trailing integers
Hey guys,

I've got an awk string that does a simple calculation which works well. However, I'd really like to be able to strip the decimal point and the trailing ints from it - any ideas on how...
33,375
Posted By jimbob01
Corona688, there was no need to do that for me,...
Corona688, there was no need to do that for me, it's really, really appreciated but there was no need for you to go to that much trouble!!

I just can't thank you enough.

Cheers, Jim.
33,375
Posted By jimbob01
Thanks Corona688 - honestly, your help has been...
Thanks Corona688 - honestly, your help has been invaluable with my problems. Can't thank you enough.

Just hope that one day, I'll be able to help out on these boards like you do. Now, to get the...
33,375
Posted By jimbob01
Corona688, you sir, are a genius!! Thats...
Corona688, you sir, are a genius!!

Thats exactly the kind of thing I've been looking for! How would I test it to see if, say, what is contained at number 5 in the array ? I just tried to add 'echo...
33,375
Posted By jimbob01
Hi Corona, The system its running on is Red...
Hi Corona,

The system its running on is Red Hat Enterprise Linux 6, and bash shell. As for the contents of the array, ideally it would just be arranged in the order that is in the csv file if that...
33,375
Posted By jimbob01
Shell script to populate an array from a csv file
Hi Guys,

I've got a script that runs and collects statistics from one of our machines and outputs the data into a csv file. Now, that script runs fine and I managed to create another one (with a...
Showing results 1 to 25 of 32

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