Search Results

Search: Posts Made By: crimso
2,760
Posted By crimso
Well there you have it. I appreciate the response...
Well there you have it. I appreciate the response MadeInGermany. I'm stuck with it now but fortunately there have been no issues other than when I use the ps command. Additionally, since Linux...
2,760
Posted By crimso
Hello Corona688, I have both RHEL6.5 and...
Hello Corona688,
I have both RHEL6.5 and RHEL7.5 and they behave the same. I've not thought about testing it on our couple Ubuntu servers but the need never comes up. The number that we're using as...
2,760
Posted By crimso
Why does "ps -[u|U] username" not list processes when username is numeric?
Greetings,

The title pretty much says it all. I've snooped everywhere and can't find anything on this. Since our organization went to numeric usernames, using the u|U option for ps returns no...
Forum: Web Development 02-10-2018
2,604
Posted By crimso
Well thanks for that! Finally it makes sense why...
Well thanks for that! Finally it makes sense why I've not been able to do what I thought I should be able to do. So creating the link that launches another script that runs the rpm makes the most...
Forum: Web Development 02-09-2018
2,604
Posted By crimso
Correct, I could but this a PHP script that is in...
Correct, I could but this a PHP script that is in the machine's /var/www/html directory that you point your browser at. Which is why I'm trying to figure out how to make the last line of the script a...
Forum: Web Development 02-09-2018
2,604
Posted By crimso
For clarity here's a larger chunk of the original...
For clarity here's a larger chunk of the original script:
<?php
$hostname = shell_exec('hostname');
$manufacturer = `dmidecode -s system-manufacturer | tail -1`;
$model = `dmidecode -s...
Forum: Web Development 02-08-2018
2,604
Posted By crimso
I had it there originally but the problem was I...
I had it there originally but the problem was I didn't know how to create a link that would display it. So as you can see, I made the software list a completely separate script because I knew how to...
Forum: Web Development 02-08-2018
2,604
Posted By crimso
How to create a link that will display the contents of a PHP variable?
Greetings,

I've wrote a script that when you point your browser to a machine it displays info about itself. Below is a small snippet of the script:

<?php
$iloipaddr = `ipmitool lan print |...
1,178
Posted By crimso
Hello RudiC, Thanks for the response. The only...
Hello RudiC,
Thanks for the response. The only issue with the single line command is it only works on the NIS master with the passwd file at /var/yp/files/passwd. All the other nodes in the cluster...
1,178
Posted By crimso
Good morning, Thanks for the response...
Good morning,

Thanks for the response Scrutinizer. The line formatting was a good idea as it gave me something to go on with the other jobs like PEND and EXIT since they format a bit differently....
1,178
Posted By crimso
The ypcat command will generally return: ...
The ypcat command will generally return:


John Doe Department


---------- Post updated at 11:02 AM ---------- Previous update was at 10:57 AM ----------

So what we're getting now when...
1,178
Posted By crimso
Help streamlining output of a command
Greetings,

I DON'T actually need a response since I have a solution but the education would be nice.
Some history:
We've recently converted from alpha login ID's in the LDAP world to something...
1,011
Posted By crimso
Maybe a cleaner way to generate a file?
greetings,
to be clear, i have a solution but i'm wondering if anyone has a cleaner way to accomplish the following:

the variable:
LSB_MCPU_HOSTS='t70c7n120 16 t70c7n121 16 t70c7n122 16...
4,423
Posted By crimso
yeah, so i've discovered. been reading up on that...
yeah, so i've discovered. been reading up on that today, had no idea it had such a large scope. thanks again for chiming in. this thread was surprisingly quiet. people here have been more vocal in...
4,423
Posted By crimso
finally figured this one out. if i delete or...
finally figured this one out. if i delete or comment the line in the php script:

$host = "";

the code works as expected now. it finally sunk in after reading the isset documentation untold...
4,423
Posted By crimso
before i posted my query i commented all the...
before i posted my query i commented all the parsing, processing and db statements and simply put echoes at the bottom so it would print the ssh command and all of the variables i expected to get...
4,423
Posted By crimso
yes, i just left that bit out since i would let...
yes, i just left that bit out since i would let you guys assume i had that part covered and to limit how big the post got.

<?php
#!/usr/bin/php -q

if (!isset($_SERVER["argv"][0]) ||...
4,423
Posted By crimso
PHP: declared variables, strlen vs isset
greetings,

pretty new to php and i think i might be missing some fundamental limitation of isset. i have two php scripts below that are executed by crond, one using --host X and one that does not....
868
Posted By crimso
Isolating a chunk of text using php
greetings,
i'll start by stating; i am NOT looking for the EXACT syntax to my query but a simple yes or no of its possibility. and if you're feeling generous maybe the php function(s) that i'd use...
Forum: Web Development 01-22-2016
2,533
Posted By crimso
thank you all for replying. akshay, it...
thank you all for replying.

akshay,
it didn't go unnoticed that the issue was likely pointing to the execution of dmidecode. i had already disabled selinux and even tried executing...
Forum: Web Development 01-21-2016
2,533
Posted By crimso
Php script prints values but not seen in browser
greetings,

i'm a php and html novice and i figured i'd learn by diving in. i've written a php script that i've placed in the /var/www/html directory. it's supposed to give some relative info about...
1,657
Posted By crimso
Thank-you all for the variety of solutions.
Thank-you all for the variety of solutions.
1,657
Posted By crimso
Thank-you pilnet101 for freely chiming in. And...
Thank-you pilnet101 for freely chiming in. And yes RudiC I did put forth some effort before posting.

The following variable is inherited:

HOST_LIST='t70c7n133 16 t70c7n134 16 t70c7n135 16...
1,657
Posted By crimso
How to reform text string?
Greetings,

How can I turn this:

t70c7n133 16 t70c7n134 16 t70c7n135 16 t70c7n136 16 t70c7n137 16 t70c7n138 16 t70c7n140 16 t70c7n141 16

into this:

t70c7n133 slots=16
t70c7n134 slots=16...
5,115
Posted By crimso
Cp via NFS vs. scp yields unexpected difference
I have two Linux machines, Linux1 and Linux2. They both have two NFS mounts. We'll call them /scratch1 and /scratch2. And they both reside on the same NetApp filer. If I copy a 512Mb file from...
Showing results 1 to 25 of 78

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