Hello,
I'm on - SunOS badap10t 5.10 Generic_150400-68 sun4v sparc sun4v and I would like to convert the output of uptime -
uptime
7:31pm up 62 day(s), 2:34, 1 user, load average: 10.61, 9.61, 9.77
To -
Thursday, April 2, 2020 07:32:11 PM EDT SystemUpTime=xxxxx
where xxxxx is the...
Good Day,
I'm looking for a way to log in to, let's say, 20 Linux servers and perform a simple command on each, such as df –kh.
All the servers have the same user name/password.
Is there a simple way to do that?
Regards,
Dan
Good Day,
I would like to exclude lines that have the word SECTOR as well as the word DREFIELD.
The following throws lines that have SECTOR but it mistakenly can remove lines with SECTOR that don't have DREFIELD -
grep -v SECTOR < source.txt
Regards,
Dan
Good Day,
Let's say we have a certain user who owns a directory structure. I like to assign to a different user access to a certain directory within this directory structure and allow this user to read and write only.
Is it possible?
Regards,
Dan
Good Day,
An application places files under a certain directory - /appl/spool/esas/IDOLServer10/IDOL/status, processes them and then deletes them.
I think the files end up being in this directory for a very short time especially when the application rejects them.
We would like to capture these...
Good Day,
How can I find out the number of cpu cores on a Solaris server?
\(ddril00\)\>uname -a
SunOS phsupr62 5.9 Generic_118558-05 sun4u sparc SUNW,Sun-Fire-V240
Regards,
Dan
Good Day,
I would like to know how many cpus run on this server. I ran the following -
[ddril00@phcgpz26 dan]$ uname -a
Linux xxxxxx 2.6.18-238.el5 #1 SMP Sun Dec 19 14:22:44 EST 2010 x86_64 x86_64 x86_64 GNU/Linux
[ddril00@phcgpz26 dan]$ cat /proc/cpuinfo | grep processor
processor : 0...
Good Day,
I'm trying to run the following -
ALTER TABLE xm_uds_deployrequest MODIFY scheduled_time DEFAULT SYSDATE
Which privileges are needed on the DB and how can I find whether I have them?
Regards,
Dan
Good Day,
I'm looking at six relatively small tables that I have no information about the way they are supposed to be updated. Can I find out when the rows got updated the last time?
Regards,
Dan
Good Day,
We end up having large nohup.out files in multiple places. Is there a way to dynamically (without stopping the services) trim these files?
Regards,
Dan
Good Day,
I didn't get what elgrandeperro said a couple of years ago at http://tek-tips.com/viewthread.cfm?qid=1565223.
On a different server, I logged in as ddril00 and then did -
sudo su - es00as
Then I see the following -
[es00as@slvgdv70 scripts]$ whoami
es00as
[es00as@slvgdv70...
Good Day,
I see the following -
[ddril00@slvgdv70 dan]$ sudo -s
Password:
Sorry, user ddril00 is not allowed to execute '/bin/bash' as root on slvgdv70.safeway.com.
What do you think can be done?
I also see -
[ddril00@slvgdv70 dan]$ uname -a
Linux slvgdv70.safeway.com 2.6.18-164.el5 #1...
Good Day,
On this Sun Solaris server, neither curl nor wget seem to work -
(ddril00)>uname -a
SunOS slsudv48 5.9 Generic_122300-47 sun4u sparc SUNW,Sun-Fire-V240
[slsudv48]/export/home/ddril00/dan
(ddril00)>curl
sh: curl: not found
[slsudv48]/export/home/ddril00/dan
(ddril00)>wget
sh: wget...
Good Day,
I get an error - Terminal too wide.
Any idea what it can be?
\(ddril00\)\>echo $SHELL
/bin/ksh
slsudv48/appl/esas/IDOLServer/HTTPFetch
\(ddril00\)\>uname -a
SunOS slsudv48 5.9 Generic_122300-47 sun4u sparc SUNW,Sun-Fire-V240
slsudv48/appl/esas/IDOLServer/HTTPFetch
\(ddril00\)\>vi...
Good Day,
We have the following SQL command -
SELECT DISTINCT
COMPANY_USERID_DISPLAYNAME."DISPLAYNAME" AS COMPANY_USERID_DISPLAYNAME_DISPL,
COMPANY_USERID_DISPLAYNAME."USERID" AS COMPANY_USERID_DISPLAYNAME_USERI,
EVENTSSUMMARY."USERID" AS EVENTSSUMMARY_USERID...
Good Day,
We are trying to format the max - min value (is it a date?) into minutes and seconds. How can we do it? The following fails...
select to_char(to_date(max - min), 'DD:MM') from (select min(timestamp) min, max(timestamp) max from wfeventssummary where workflowid = '12232' and...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.