Search Results

Search: Posts Made By: botao
Forum: HP-UX 12-09-2013
3,170
Posted By botao
how about 'dot' files ?
try:

$ ls -la log_old1?

or:

$ find log_old1?

and check for names that begin with a '.' ('dot') ;

also assert that this is not an NFS mountpoint, for it would yield access permission...
8,157
Posted By botao
concept clarification
just to calm you down:

the command grub-install is part of the 'grub' package.

- you can check it out with man grub-install

- and for the sake of correctness, "reinstall grub" refers to the...
8,157
Posted By botao
consider "mondo" :)
- have you heard about "mondo" ?

- it's GPL disaster recovery solution.

--> Mondo Rescue - GPL disaster recovery solution (http://www.mondorescue.org/)

- checki it out, and if possible, give...
18,634
Posted By botao
try `swapinfo' as well
- although it is meant for 'swap space' inquiry, it shows a line starting with the word "memory" - and this is the size of your physical memory.

$ swapinfo


HTH

good luck, and success !
...
Forum: Programming 08-13-2012
2,208
Posted By botao
the ball is on your call...
here's my two cents (or three):

- either you point a1 to some static buffer - with enough space, as in:

char dest[8];
a1 = dest;
cpy(...)


- or you call malloc() to get dynamic space, as...
2,016
Posted By botao
enter acl ...
- if you have said "any file in any folder", then
umask would suffice.

- when you need some mode - or permission - to be inherited by files in just one specific directory, that's when acl...
Forum: Solaris 07-23-2012
3,682
Posted By botao
'core' is the name...
- by default, the global option is disabled - mainly because no one reserves a few GiBs for core dumps (and no one expects to have them created very often).

- if you know that you will have many...
Forum: Linux 07-09-2012
5,750
Posted By botao
here's my two cents..
1) if it's all spaces :
cat file1 | sed "s/^ *//"

2) no if it's "empty lines" :
tr -s "\n" < file1

HTH

good luck, and success !
alexandre botao
(progsmith, polymath, ideator)
Forum: Red Hat 06-11-2012
17,632
Posted By botao
let's not forget the dots ...
- you see ... there may be directories whose name begin with "." - which will not be found by the command I suggested ;

- try :
ls -aF /
to see if there are any such directories ...

ok ?
...
Forum: Red Hat 06-04-2012
17,632
Posted By botao
let's find it out ...
- login as root ;

- try :
# find /* -xdev -maxdepth 0 -type d -exec du -s {} \;

this should give you a report of disk usage per directory ;


HTH


good luck, and success !

...
Forum: HP-UX 06-04-2012
6,318
Posted By botao
things to consider
here's my two cents:

1) it is a SHAR - (SH)ell (AR)chive - file ... that's for sure - so "sharing" simply does not apply to it . It is a form of archiving - not sharing ;

2) make sure your...
31,972
Posted By botao
yes - the math says it all
yes - as per your 'sar' output, the algebric sum of these 3 values will give you 100% ;

HTH
_____________
alexandre botao
6,618
Posted By botao
try 'export' ...
- try this:
$ export GEOS_DIR

HTH

good luck, and success !
_____________
alexandre botao
Forum: HP-UX 03-05-2012
16,750
Posted By botao
- I think you should have in mind that wherever...
- I think you should have in mind that wherever NFS is used, "the right UID" is always the major concern - and THAT's why NIS was invented in the first place (then NIS+ and now we use LDAP) ;

- if...
Forum: AIX 03-05-2012
7,653
Posted By botao
the AIX script is a bit tricky, but...
AFAIK, AIX does not come with a ready-to-use script that triggers an alarm action when CPU or RAM consumption is above some threshold ;

( althought the `errpt' output may show some alerts if your...
1,525
Posted By botao
permission denied ? good !
- if you got 'permission denied' messages while doing a
$ find / ...whatever...

as an unprivileged user - then your system is at least well-behaved (it would be a sad surprise otherwise) ...

-...
1,525
Posted By botao
my two cents..
here you are:

1)Will it be a good idea to make a rpm out of those scripts and maintain a version control.

- yes - packaging and centralizing software development is always a good idea.
- in...
2,606
Posted By botao
try `tr' ...
try :

$ cat yourfiles | tr -s "\n"

hth

alexandre botao (progsmith,polymath,ideator)
"comets never dodge"
Forum: AIX 01-23-2012
32,694
Posted By botao
alternate way thru netstat
try :
$ netstat -a | grep ftp
hth
Forum: Red Hat 01-09-2012
10,375
Posted By botao
hmm... solaris background ?
I bet you are used to solaris (*) and wants a "Linux-equivalent" to :
sys_unconfig
or even
touch /reconfigure ; init 6

well, AFAIK there is no such a "simple" thing (in Linux - that is)

HTH...
Forum: AIX 12-19-2011
9,318
Posted By botao
ulimit -a
- also, the command
ulimit -a
will give you an idea of your 'other' limits ;
- and don't forget to have a look at
man ulimit
or alternatively
man sh
(and then search for ulimit)

ok ?
...
Forum: HP-UX 12-05-2011
4,780
Posted By botao
- If I uderstood your need correctly, I'd simply...
- If I uderstood your need correctly, I'd simply say : "install 'bash' in your HP-UX box(es)" ;

good luck, and success.
alexandre botao
6,656
Posted By botao
you are semantically right, but ...
1) what you just said about 'atime/read' would also apply to 'mtime/write' ;

2) if you consider "inode"-change meaning "owner/group/mode"-change, then the results shall match the text better,...
Forum: AIX 12-05-2011
19,000
Posted By botao
alternate method
here's my two cents :

$ tr "\t" " " < infile > outfile
( infile has TABs ; outfile has SPACEs )

good luck, and success !
alexandre botao
Forum: Red Hat 07-25-2011
9,168
Posted By botao
a read system call returned -1
- this error means that a read() system call returned -1 ;

- when the read() system call encounters an error condition, it returns -1 ;

- the external variable 'errno' holds a code that helps...
Showing results 1 to 25 of 82

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