Search Results

Search: Posts Made By: black_fender
Forum: HP-UX 06-15-2016
5,074
Posted By black_fender
thanks for the reply. I used this syntax also and...
thanks for the reply. I used this syntax also and got these results:


dexter:~# /opt/perf/bin/glance -f /tmp/glance/glance.20160613 -iterations 2 -adviser_only
MI: Wed Jun 15 16:36:48 2016...
Forum: HP-UX 06-15-2016
5,074
Posted By black_fender
Use glance as a cron script
On a HP-UX 11.31 server I try to make a script that can launch glance for x iterations and the output to be stored in a file. I want to be able to launch the script via crontab.

glance manual says...
Forum: Linux 06-13-2016
4,487
Posted By black_fender
I deactivated SELINUX and everything worked fine.
I deactivated SELINUX and everything worked fine.
Forum: Linux 02-18-2016
4,487
Posted By black_fender
I edited mobifon to 'grup' but missed some...
I edited mobifon to 'grup' but missed some instances :)
there are the same user:group ownerships for homedir, .ssh and auth_keys file.
Forum: Linux 02-18-2016
4,487
Posted By black_fender
hi disedorgue, yes, tried that too with the...
hi disedorgue,

yes, tried that too with the same result.
Forum: Linux 02-18-2016
4,487
Posted By black_fender
hi Jim, yes, the public key infa8@A...
hi Jim,

yes, the public key infa8@A /infa8/home/.ssh/id_rsa.pub exists in both /home/opc_op/.ssh/authorized_keys and /home/ussdsc/.ssh/authorized_keys as I pointed earlier I can login as user...
Forum: Linux 02-18-2016
4,487
Posted By black_fender
Ssh key doesn't match
I'm loged on server A as user infa8. I want to login via ssh key on server B as user ussdsc.

destination server (B) is a redHat 6.2.
Permissions for ussdsc@B for home, ssh and authorized_keys:
...
Forum: Linux 07-28-2015
1,861
Posted By black_fender
Hi Peasant! Thanks for the reply. it was a...
Hi Peasant!

Thanks for the reply. it was a typo, I ment 28349. That;s the number of inodes used on that FS. I tried your command and it also got stuck. But I think it was a FS problem, because I...
Forum: Linux 07-28-2015
1,861
Posted By black_fender
Can't hanlde files in certain directories
On a RHEL 5.5 I have this filesystem:


cat /etc/mtab
/dev/mapper/cpc_uat_app-cpc_uat /cpc_uat ext2 rw 0 0


which is not ful:

df -h
/dev/mapper/cpc_uat_app-cpc_uat
...
Forum: HP-UX 07-16-2015
4,424
Posted By black_fender
Expert Recovery Shell - Fatal Error: Unrecognized disk layout
I have a B.11.31 U ia64 system where I swremove the disk driver "SerialSCSI-00 B.11.31.1303 PCI-X/PCI-E SerialSCSI" (by mistake). afterwards the system won;t boot because of the missing disk...
Forum: HP-UX 03-09-2015
3,782
Posted By black_fender
Debug3 messages throw in my terminal
OS: HP-UX B.11.31 U ia64
shell : /sbin/sh

Messages like "debug3: Wrote 48 bytes for a total of 15837" are thrown in my terminal after each key stroke. If I try to type a command such message...
Forum: HP-UX 03-09-2015
7,913
Posted By black_fender
It only worked for me when I edited...
It only worked for me when I edited /usr/local/etc/sudoers

I wanted to use visudo (this way the proper sudoers file would;ve been indicated to me), but I didn't have visudo.
Forum: HP-UX 02-27-2015
7,913
Posted By black_fender
Sudo doesn't work
I edited sudoers like this:vi /etc/sudoers
subex ALL =(root) NOPASSWD: /usr/ccs/bin/pstack

But the respective user still is prompted for password, and even when the right password is used, the...
Forum: HP-UX 02-27-2015
7,135
Posted By black_fender
as I said, I already done that and in hp-ux I...
as I said, I already done that and in hp-ux I canot see how can you get memory stats with sar (just some swap stats, but that's not what I need).
Forum: HP-UX 02-22-2015
7,135
Posted By black_fender
Memory consumption history
I want to obtain memory consumption history on a HPUX machine.
I know I can access data from the last week with sar
sar -f /var/adm/sa/sa14

I do not know how to get memory usage with sar.

Are...
36,120
Posted By black_fender
Thank you, this solved my problem. I am aware...
Thank you, this solved my problem.
I am aware about the security issues, however this page woulnd;t be visible from internet.
36,120
Posted By black_fender
Launch shell script with parameters from a webpage button
I want to create a simple html page that should contain 2 fields in which the user can write the input. Then I want to have a button that should launch a shell script with the parameters inserted by...
3,075
Posted By black_fender
Sftp user chrooted in a directory
Hello,

I have a task to create 3 users that must connect only via sftp on a machine, and must have only read access to a certain directory (thay shouldn;t be able to cd anywhere else)
The problem...
5,281
Posted By black_fender
yes. I used this script now : ...
yes. I used this script now :

#!/usr/bin/expect

log_user 0
spawn telnet 10.21.222.222
expect "login name:"
send "focore\r"
expect "password:"
send "pwd\r"
expect "Windows NT Domain:"...
5,281
Posted By black_fender
Already tried exactly this. replaced in my script...
Already tried exactly this. replaced in my script the "interact" line with "expect eof" and it doesn;t work at all neither directly from shell, neither from crontab.
5,281
Posted By black_fender
/usr/bin/expect script truncates data
I have a script on a Linux machine that connects remotely, via telnet on a windows machine to launch several commands and colect their output. On the Linux machine the output of these commands is...
3,877
Posted By black_fender
Yes, thanks. That was it.. I saw that after I...
Yes, thanks. That was it..
I saw that after I posted...
3,877
Posted By black_fender
I have a new issue on this topic. I've settled...
I have a new issue on this topic.
I've settled to this awk expression :


targetFile=log.xml
targetItem="string 1 string2"
awk '/<mi>/ || s {s=s?s"\n"$0:$0} /<\/mi>/{if (s ~ Item) print s;...
3,877
Posted By black_fender
Thank you, it worked
Thank you, it worked
3,877
Posted By black_fender
One more question.. I tried to use the awk...
One more question..
I tried to use the awk snippet replacing <string1> with a variable and it didn;t work:


-bash-4.1$ awk '/measInfo/ || s {s=s?s"\n"$0:$0} /<\/measInfo>/{if (s ~ /string1/)...
Showing results 1 to 25 of 81

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