Server :: Get Human Readable Bdf Output In Hpux?
Mar 28, 2011
The following is a script for making the bdf output of HP-UX in a human readable form .
Syntax for running the script is :-
# bdf | bdfrefine.pl
The output will be displayed in KB ,MB,GB or TB as per the disk space . Script details :-
#!/usr/bin/perl
######## SCRIPT FOR USER FRIENDLY bdf OUTPUT ##################
##-----------------------------------------------------------------######################
################# SLURPING INPUT ######################
##-----------------------------------------------------------------######################
[code]....
View 10 Replies
ADVERTISEMENT
Oct 21, 2010
How can get human readable output from df -k in HP-UX?
View 5 Replies
View Related
Jul 1, 2010
The top command by default displays in "k" ...how can I make it display in "M"?
View 2 Replies
View Related
Jul 23, 2010
I am not sure whether this is something that can be answered here, but I figured this is the best place to start (next to google not giving me the answer I was looking for). One of our clients are running HPUX as filesystem, however when the support guys need to report the filesystem space they keep getting it wrong. Even after someone gave them the full command which will do the calculations for them, they still seem to make mistakes. On linux the df -h works very weel but this is obviously not available here...can use to display the filesystem space in the correct formats? Even if there is a set of commands that we can work into a script and they can then just run the script.
View 1 Replies
View Related
Aug 14, 2010
I want to find out which process is eating RAM, I use this command:
Code:
ps -eo size,pid,user,command | sort -k1 -rn | head -10
but it displays with no human readable:
Code:
283364 4644 quanta /usr/lib/mozilla-firefox/firefox --sm-config-prefix /firefox-C3JYUC/ --sm-client-id 1014cd7d2d4000128169799000000044950019 --screen 0
230372 3635 mysql /usr/sbin/mysqld --defaults-file=/etc/mysql/my.cnf --basedir=/usr --datadir=/var/lib/mysql --pid-file=/var
[code]....
use 'awk' to convert 'size' column to human readable? I also read this thread but I get stuck in printing from $4 to NR.
View 8 Replies
View Related
Mar 10, 2015
I want to display users quota in human readable format, so if the size is over 1 GB I want the quotas displayed in GBs
So when I issue the command below should I not get the results in GB ?
Code: Select allrepquota -sa
bob -- 87200M 400G 440G 879 0 0
dave -- 255G 400G 440G 3627 0 0
jim -- 10664M 400G 440G 230 0 0
tom -- 10737M 400G 440G 636 0 0
User bobs usage is 86GB, should 86GB not be displayed rather than 87200M?
View 1 Replies
View Related
May 23, 2010
i have installed Ossec and save it on my sql database but the timestamp of alert is not human readable, how to make it readable ? is there algorithm to make it readable?
View 1 Replies
View Related
May 5, 2011
I have log files that everyday are downloaded from my webserver in the format: Code: samplesite.com.xxxxxxxxxxx.gz xxxxxxxxxx is a 10 digit epoch time. I am trying to figure out a way in batch to:
1. find all of exisiting files containing the pattern (after the first run it will only be one a day)
2. Isolate the epoch string
3. convert the epoch string to human readable date/time
4. rename the original file as samplesite.com.mmddYYYY.gz
View 2 Replies
View Related
Jun 8, 2011
[156750.000302] [Hardware Error]: No human readable MCE decoding support on this CPU type.
[156750.000327] [Hardware Error]: Run the message through 'mcelog --ascii' to decode.
[156750.000344] [Hardware Error]: Machine check events logged
I have been trying to find mcelog for my architecture (2.6.37.6-0.5-desktop #1 SMP PREEMPT 2011-04-25 21:48:33 +0200 i686 i686 i386 GNU/Linux). I am running openSuse version: openSUSE 11.4 (i586)
[Code]....
View 6 Replies
View Related
Nov 5, 2010
I have a usb PlayStation-gamepad (Trust GM-1520) which I would like to get a readable output from. I run hexdump and od got a bunch of numbers. How can I get which button(s) is active and the position of the joystick(s)?
View 1 Replies
View Related
Mar 23, 2011
I have written a manual backup script with menus using the dialog command. When using this on a centos 5(CentOS release 5.5 (Final)) server the output is the way I would like to have it. But when using it on our RHEL server (Red Hat Enterprise Linux Server release 5.3 (Tikanga)) it is almost unreadable. This RHEL server has been installed by another company so I don't know what they have configured.Now when I try to create a dialog box it is just waiting but not displaying anything.
View 2 Replies
View Related
Aug 6, 2010
I have a DVD which I can open and play on a machine running 9.04 but I can't get to open and play it on a machine running 10.04.How can I diagnose and prefereably fix the problem?
View 9 Replies
View Related
Jan 5, 2010
We have about four workstations and a server. What we need is authenticating with the server, and when you log on, you should see your own desktip and documents idnependent on which workstation you use. Could this be solved by placing the user's home on a server share?We also need a server share accessible from both Linux, Windows an Mac, readable and writeable, as some prefers to bring their laptops to the office.I've read a little bit about terminal servers, but using the workstations as thin clients sounds like a waste, as they're just as powerful as the server. "Fat" clients sounds better,
View 9 Replies
View Related
Sep 1, 2011
I am trying to setup a LAMP stack on an HP-UX server with the EFI Boot Manager that it comes with. Originally it ran Red-Hat Linux but I am now to cheap to pay the RHN Annual Fee and would like to use Ubuntu Server. I have burned a 64Bit Ubuntu Server disc on my computer and it boots fine on every computer I've tried except for this server. I think it may need a boot script, but I'm not sure. It will simply not boot and says "DVD Not Found" every time I try to boot.
View 9 Replies
View Related
Jan 31, 2011
We have our source codes migrated from HP-UX to LINUX REL 5. In some of the scripts, certain flags like -DHPUX -DUNIX have been use. I wanted to know, what can replace these flags in LINUX? then certain optimization flags are also used like +O2, etc. these give an error as O2:command not found in Linux. What can be the proper replacement for them?
View 1 Replies
View Related
May 17, 2011
I had developed a C program on linux (x86). Now I need to port it to HP-UX OS on IA/PA 64 bit arch. What are the options to be used with cc compiler, on linux (x86), so that this could be done, if at all.
View 1 Replies
View Related
Jul 10, 2010
I have Ubuntu Lucid Lynx installed and thought I'd try out Mac4Lin. I then decided to remove it and ran the script for doing so. This worked, except that it seems to have removed one of the standard Ubuntu themes (Human) and left some Mac4Lin fonts in my fonts folder (can't say which they all are). How do I repair my Ubuntu installation without upsetting my 3G internet access, etc? I don't have an ethernet connection, but am using Vodacom 3G. Can I do this from the Ubuntu disk?
View 1 Replies
View Related
Jun 8, 2010
When I activate the Ambiance theme, skype, opera, and probably one or two other applications have black menus with black text. It seems like the black background colour is being used from the Ambiance theme, but the menu text colour is not.
Could it be related to qt4? I just installed Opera qt4 because I read somewhere that qt4 would keep it closer to the theme or something.
View 6 Replies
View Related
May 24, 2010
I am working on linux server with below specifications.Linux EDT 2008 i686 i686 i386 GNU/LinuxWhile checking the status of the server using the command 'opmnctl status' and when server is down the output is not getting redirected to file.I m using the command as,opmnctl status > abc.txt.
View 2 Replies
View Related
Sep 2, 2010
I cannot change my window controls to Ambiance theme when compiz effects are on. When I turn off compiz effects, theme selection works as a charm, but when I turn compiz effects on again, I get back to human-clearlooks. In Appearance Preferences -> Theme I can still see Ambiance is selected, but window controls are from human-clearlooks. Every theme changes only colors, icons, fonts etc, but window controls remain. And remain on the right side of window. Everything works as expected when I turn off compiz effects.
In CompizConfig Settings Manager -> Effects -> Window Decoration Command is specified to /usr/bin/compiz-decorator What can I do to have buttons of the left side? I tried to change in gconf-editor in apps -> metacity -> general -> button_layout to "close,minimize,maximize:menu", but it still has no effect on compiz
View 2 Replies
View Related
May 28, 2011
I am using archlinux with gnome 3. I am trying hard to change my icon theme to human but it just doesnt change. ~/.gtkrc-2.0 [URL]. I tried lxappearance too. After I click on apply and close it gnome kinda restarts and when I open nautilus it shows no change. I had tango icon theme so I deleted that dir from /usr/share/icons. Now it has switched to the default gnome icon theme. How do I change it to Human icon theme?
View 1 Replies
View Related
Jan 12, 2011
What does it mean if you boot from a live CD, the CD spins, a screen appears with the keyboard and human icons at the bottom, then a blank screen appears with a blinking cursor in the upper left corner - and that's it? It just stays that way.
I've tried two different discs, one 10.04 and one 10.10; and two different disc drives.
View 8 Replies
View Related
Feb 21, 2010
I have a problem with CD/DVD's burned with K3B in openSUSE 11.2. They are not readable on computers with Windows. When I was burning them I had UNIX+Windows filesystem selected.
View 6 Replies
View Related
May 14, 2011
I'm using Ubuntu 11.04 and am unable to read any DVD from my DVD writer. I'm sure its some Software issues as CD's seem to work fine with this distribution. Can someone tell me how to get my DVD Writer working again. DVD's (all) are not detected at all by the system. They must atleast be mounted or something but nothing. I even check the Disk utility to see if the system can see the DVD but not able to mount it. No luck. The DVD is not Detected. btw All the DVD's i tested work fine in windows
View 8 Replies
View Related
Feb 16, 2011
I'm setting up a Squeeze system with multiple users. I would like to have it the way that no user is allowed to read other user's files. I have searched the net and the forums here and have found quite a lot of stuff but it's all a bit confusing to me.
Some suggest that one should use
dpkg-reconfigure adduser
and select
<no>
But that doesn't do what I'd like to achieve (with a newly created user):
wussy@dorm:/home$ ls -l
[Code]....
View 8 Replies
View Related
Dec 21, 2010
i'm used to copy dvdvideo from k3b and it always worked.But I got a dvd that was readable from dolphin (AUDIO and VIDEO folders) but when I tried to copy the dvd from k3b , it could not.I then copied the audio and video file and created an iso and burned it.My problem is that mplayer could play the original dvd but not my copy of the dvd either as the iso or on the dvd itself.
View 9 Replies
View Related
Jun 6, 2010
Is there a command for showing only the readable signs uit of /usr/bin/passwd?
View 1 Replies
View Related
Nov 11, 2010
I am running my fedora box as a media server and my xbox (sorry) doesn't see mkv files and I have been looking for a while for a way to convert the mkv files to any format readable any ideas?
View 3 Replies
View Related
Mar 30, 2010
I have a little problem using CDs or DVDs. If I put a disc in my DVD-Recorder it is mounted and the content of the disc is shown in dolphin (or any other programm for that matter). The names and attributes (size, date etc) of the folders and files are all correctly shown - except it is a multisession-disc, then there are only files of one of the sessions (probably the first) shown. The permissions say that the files are readable (user is my useraccount and group is "root").However, if I try to open a file on the disc, the program (for example sm-player if it is a video) freezes or displays a message that the file is corrupted (for example open office if it is a textfile).Trying to copy a file from the disc to the harddrive results in an error that the file is not readable, but there is a file created on the harddrive - it has the correct name but the size is 0B.Burning a disc with k3b creates also an error, although the disc is correctly recognized - but as soon as the burning should start an error occurs.I'm pretty sure that it is not an hardware-issue, since this DVD-Drive has worked fine under openSUSE11.1-32bit and it still works if I put a bootable disc in. There is no problem runnig a live-CD and I had no problems with the drive when I installed the very same system that I'm working with from a disc.Logging in as root doesn't change a thing.
I tried to search if this problem was solved before, but all I found were problems where the disc-drive wouldn't mount at all ... so please, if anyone knows a solution or at least a place where I can found one - I really have no idea what to do about this.
View 3 Replies
View Related
Aug 31, 2010
I got a CD of JPG files from a photographer. Some of the files are not readable on my Ubuntu machine (they show up as X icons in the Nautilus file browser). I figured out that the reason is that they are not "world-readable" (and also not "group-readable") and they are owned by a user that does not exist on my machine. I am able to work around it by doing sudo nautilus Is there any easier way to do this? I am thinking some setting I can make on my system relating to the CD driver works?
View 2 Replies
View Related