Command for Solaris Interactive (IA) priority class or Timesharing
Hello All,
I need to find command which willgive me whether solaris is using Solaris Interactive (IA) priority class or Timesharing (TS) class
Winston
Well, if your system is using a non-standard schedulingclass its normally specified in /etc/system .
The command which controls the scheduling classes is priocntl
To check which class your processes are using you can use ps, for example you could type:
ps -eo user,pid,comm,class
.. to display username,pid, command and the scheduling class of each process.
//Magnus
Similar Messages
-
Hi all,
does anyone know any equivalent to the locate command for Solaris?
Thanks all
Here I'm helping others to find it faster than me :-)
locate for solaris
locate equivalent for solaris
how to find files in solaris
how to find directories in solaris
find filenames quicklyThis would be a good question for one of the forums on opensolaris.org, you might
get better answers there. If the file you are looking for was installed via packages,
then you can use the package database to look it up.
I think you have to be root (which is lame). Here is an example for
the file "libxil.so.1"
# pkgchk -l -P libxil.so.1
Pathname: /opt/SUNWits/Graphics-sw/xil/lib/libxil.so
Type: symbolic link
Source of link: /usr/openwin/lib/libxil.so.1
Referenced by the following packages:
SUNWxilrl
Current status: installed
Pathname: /opt/SUNWits/Graphics-sw/xil/lib/libxil.so.1
Type: symbolic link
Source of link: /usr/openwin/lib/libxil.so.1
Referenced by the following packages:
SUNWxilrl
Current status: installed
Pathname: /usr/lib/libxil.so
Type: symbolic link
Source of link: ./libxil.so.1
Referenced by the following packages:
SUNWxwrtl
Current status: installed
Pathname: /usr/lib/libxil.so.1
Type: symbolic link
Source of link: ../openwin/lib/libxil.so.1
Referenced by the following packages:
SUNWxwrtl
Current status: installed
Pathname: /usr/openwin/lib/libxil.so
Type: symbolic link
Source of link: libxil.so.1
Referenced by the following packages:
SUNWxilrl
Current status: installed
Pathname: /usr/openwin/lib/libxil.so.1
Type: regular file
Expected mode: 0755
Expected owner: root
Expected group: bin
Expected file size (bytes): 952740
Expected sum(1) of contents: 59048
Expected last modification: Jan 22 19:00:53 2005
Referenced by the following packages:
SUNWxilrl
Current status: installed -
Is there chatr command for solaris??
Hi Everybody,
In HP-UX, I use chatr command for finding the library dependencies and for changing their flags dynamically.
Can you please let me know if there is any such command in solaris 10??
I know ldd command, but it does not allow me to change the library loading flags.
Thanks in advance
Durga PrasadSolaris will always use your LD_LIBRARY_PATH to find the location of your dynamic libraries. If you haven't defined any LD_LIBRARY_PATH the systems settings are used instead. You may alter the default settings of your system by running the crle utility.
As far as i understand; if you build a static library under Solaris, the executable will actually contain the static libraries which you linked into it so it won't have to load external libraries.
7/M. -
Install error for Solaris 8 intel
When my Solaris 8 install gets to the spot where it asks for the language to use (0-9, english is 0, which I want), anything I hit on my keyboard sends bogus VT codes to the screen. Earlier in the install process (when it asks for solaris interactive vs custom for example), my keyboard works fine, I can choose 1 or 2 there.
Has anyone else seen the problem? I've tried multiple keyboards, and they all do the same thing.Sounds like the dell keyboard problem:
http://groups.yahoo.com/group/solarisonintel/message/20087
The workaround is to attach an USB keyboard. -
Priority class command doesn't work with a certain program
Hello folks,
I'm trying to automatize the priority class setting of a program named FreeTrack through a command written in the shortcut. Hence in its "target" I've written this (I'm using Windows 7 x64):
C:\Windows\System32\cmd.exe /c start /REALTIME /AFFINITY 8 "" "E:\Program Files (x86)\FreeTrack\FreeTrack.exe"
As you can see I also wanted the affinity mask of the program to be set automatically upon launch, and it works fine. The issue is that the priority class remains unchanged to normal.
I've tried removing the "affinity" command but it didn't work.
The priority command does its job on another program (for the attempt I used Firefox).
Is there any explanation for this anomalous behaviour? And, most importantly, is there a solution (which preferably doesn't involve installing additional programs) ?
Thank you and regardsAll right, I've found a solution; I'll post it for anyone in need. It's not particularly elegant but still functional.
First of all I've created a .cmd file in the folder where is located the executable of my interest.
In it, using notepad, I've written as following:
start /affinity 8 FreeTrack.exe
ping 1.1.1.1 -n 1 -w 2000 > nul
wmic process where name="FreeTrack.exe" CALL setpriority 256
Note that the /affinity command is optional and not required (however, I needed it). Replace "FreeTrack.exe" with the name of your executable.
The ping part pings a fake IP once and then waits 2000 milliseconds (set a higher waiting time if this one doesn't work).
The third line changes the priority for all the processes under the name of "FreeTrack.exe" to, in my case, realtime.
Priority legend:
Low: 64 Below Normal: 16384 Normal: 32 Above Normal: 32768 High: 128 Realtime: 256
Since the command prompt window appears for 2 seconds and I don't like that, I've created a .vbs file in the same folder of the .cmd file and executable. This hides the cmd window.
I've put the following into the .vbs file (edited with notepad):
Set WshShell = CreateObject("WScript.Shell" )
WshShell.Run chr(34) & "FreeTrack.cmd" & Chr(34), 0
Set WshShell = Nothing
Replace "FreeTrack.cmd" with your .cmd file name.
I've then created a shortcut on the desktop to the .vbs file and changed the icon to the one of the executable.
Surely this solution won't work if the program keeps reverting back its priority while running. -
Implementation of Posix Thread class in c++ for solaris system
Hello Everyone,
Please help me with information regarding how to implement Posix Thread Class in c++ for Solaris 5.8 system.
if available Please let me know any Open Source Posix Threads C++ built-in library available for Solaris System.
Thanks in Advance.
Thanks & Regards,
VasuPosix threads are available on Solaris, and can be used directly in C or C++ programs. Include the header <pthread.h> to get access to the types, constants, and functions. Compile with the option
-mt
on every command line, and link with the options
-mt -lpthread
If you want to create a class to provide a different sort of interface to phreads you can do so by building on the <pthread.h> functionality. -
Solaris commands for SPARC servers
Hello fnds,
Can anybody provide me the document for solaris commands necessary for SPARC based servers.
BR//
VinodHello.
Have you checked [http://docs.sun.com/]?
Martin -
Unix Solar commands for Oracle
Can any body forward me Unix/solars main commands for Oracle Use.
ArifThe main ones are
sqlplus
emctl
lsnrctl
Use and syntax are in the documentation at http://docs.oracle.com -
Reconfigure reboot for Solaris 10 u5 x86 guest in VirtualBox
Hello,
I just installed the new kernal patch into a Solaris 10 u5 x86 32-bit guest OS in VirtualBox 2.0.4 on a WinXP 32-bit host. I need to do a reconfigure reboot. I can't seem to get to the ok prompt from which to use boot -r. init 0 does not work, it only offers a "push any key to reboot."
What is the optimal way to initiate a reconfigure reboot for Solaris 10 in my setup?
I tried the grub-based technique in which, upon reboot, I get the grub menu and push "e." That gets me to another grub screen with 3 entries. I selected the kernal entry, pushed "c" to add "-r" to the end of the line, and then "b" to reboot. Is that the best way to reconfigure reboot for Sol 10 x86.
The above method did configure devices on reboot, but I'm not sure that is the best way to boot -r
Thank you in advance...x86 machines (including virtual machines) do not have an OBP or an 'ok' prompt.
You have to manipulate the GRUB either through interactive commands like you've shown, or by editing the menu.lst file to change boot parameters.
Of course for reconfiguration, you also have the option of touching '/reconfigure' and doing a normal reboot.
Darren -
Need Agent Installer for Solaris (SPARC)
Hi All,
I have downloaded Grid Control Agent Installer for Solaris from http://www.oracle.com/technology/software/products/oem/htdocs/agentsoft.html.
When I tried to extract the zip file, I am getting the following error message.
"Can not open file. It does not appear to be a valid archive. If you downloaded this file, try downloading the file again."
Even I tried using http://sac.us.oracle.com/download/index.html also but getting the same error.
Please send me the location if you have,
Thanks
SumathiMost commands are identical. Performance analysis, loading all are similar. Tape interaction, creation of tape devices is going to be pretty much the same.
The differences show up a lot at the hardware level. HBAs aren't usually the same, many drivers (and their quirks) are different between the architectures. If you're debugging connectivity to a tape library, those differences may be critical.
So you can't get as close as you may want, but I'll bet it would still be helpful.
Darren -
Sysdef command in Solaris 10.
Hi All,
sysdef command in Solaris 10 ( 5.10, s10_58 ) no more reports the message queue related Kernel
parameters i.e msgsys:msginfo_msgmax ( MSGMAX ) etc. For more info refer the link below :
http://docs.sun.com/db/doc/816-7137/6md5paukq?a=view
Since sysdef command no more reports the above parameters, what is the other way we can get the
same in Solaris 10? We have written our script in such a way that it greps for MSGMAX from the outcome
of sysdef and gets its value and perform certain operations. Quick reply would be greatly appreciated.
ThanksWe have written our script in such
a way that it greps for MSGMAX from the outcome
of sysdef and gets its value and perform certain
operations. Quick reply would be greatly appreciated.msgmax (maximum per-message size) has been removed completely -- there is no equivalent on Solaris 10. Instead, the
maximum total bytes on the queue, process.max-msg-qbytes (previously msginfo_msgmnb) is the only restriction on what can be placed in a SysV message queue.
To retrieve the current value of this in a script, you can use:prctl -P -n process.max-msg-qbytes -t privileged $$ | tail -1 | read x x value x x xNote that this is no longer a system-wide tunable -- the administrator can control this on a per-project basis. (see projects(1))
- jonathan -
How can I use custom WLST commands for Oracle SOA Suite in Weblogic
Hi There,
I'm trying to view and search the weblogic log files using WLST on a Solaris/Unix system.
I have come across this "custom WLST commands for Oracle SOA Suite" and thought of using the custom logging commands to get my task done.
However, my WLST shell is not recognizing the commands and giving me the NameError!
wls:/devDomain1/domainRuntime> listLogs()
Traceback (innermost last):
File "<console>", line 1, in ?
NameError: listLogs
I tried the commands listLogs, displayLogs, getLogLevel & setLogLevel but in vain!
I have followed the instructions as per the oracle recommendation of using Custom WLST commands (http://docs.oracle.com/cd/E29597_01/core.1111/e10105/getstart.htm#ASADM10692) as below
- Launched the WLST shell from Oracle Home.
cd ORACLE_HOME/common/bin
./wlst.sh
- Tried to run the listLogs command from domainRuntime()
I would like to know if I need to import any additional libraries to run the custom WLST commands for Oracle SOA Suite in my WLST shell?
I have only weblogic 10.3.1 server installed on my Solaris 10 machine on which I have deployed the OSB application software.
There is no SOA Suite installed.
Or is there any other way I can browse the Server Log file and get the list of log messages? Basically I would like to use this feature in my script to customize it according to my requirement of listing specific error logs which I can work it out if I know how to make these commands work.
Please advise if this is possible and how?
Cheers.
SatishI have tried on my OSB installation (no SOA Suite here), the command listLogs() works (I was in online mode, after a connect), and the classpath is:
CLASSPATH=/opt/oracle/fmw11_1_1_5/patch_wls1035/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/opt/oracle/fw11_1_1_5/patch_ocp360/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/usr/lib/jvm/java-1.6.0-sun-1.6.0.33.x6_64/lib/tools.jar:/opt/oracle/fmw11_1_1_5/wlserver_10.3/server/lib/weblogic_sp.jar:/opt/oracle/fmw11_1_1_5/wlserver_10./server/lib/weblogic.jar:/opt/oracle/fmw11_1_1_5/modules/features/weblogic.server.modules_10.3.5.0.jar:/opt/oracle/fmw111_1_5/wlserver_10.3/server/lib/webservices.jar:/opt/oracle/fmw11_1_1_5/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/optoracle/fmw11_1_1_5/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar::/opt/oracle/fmw11_1_1_5/oracle_common/moules/oracle.jrf_11.1.1/jrf-wlstman.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/lib/adfscripting.jar:/opt/oracl/fmw11_1_1_5/oracle_common/common/wlst/lib/adf-share-mbeans-wlst.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/lb/mdswlst.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/resources/auditwlst.jar:/opt/oracle/fmw11_1_1_5/oracle_cmmon/common/wlst/resources/igfwlsthelp.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/resources/jps-wlst.jar:/optoracle/fmw11_1_1_5/oracle_common/common/wlst/resources/jrf-wlst.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/reources/oamap_help.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/resources/oamAuthnProvider.jar:/opt/oracle/fmw111_1_5/oracle_common/common/wlst/resources/ossoiap_help.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/resources/osoiap.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/resources/ovdwlsthelp.jar:/opt/oracle/fmw11_1_1_5/oracle_comon/common/wlst/resources/sslconfigwlst.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/resources/wsm-wlst.jar:/optoracle/fmw11_1_1_5/utils/config/10.3/config-launch.jar::/opt/oracle/fmw11_1_1_5/wlserver_10.3/common/derby/lib/derbynet.ar:/opt/oracle/fmw11_1_1_5/wlserver_10.3/common/derby/lib/derbyclient.jar:/opt/oracle/fmw11_1_1_5/wlserver_10.3/common/drby/lib/derbytools.jar::
The wlst.sh I have used is /opt/oracle/fmw11_1_1_5/osb/common/bin/wlst.sh
I hope this can help -
The deployment process seems to die or get stuck, iAS 6 SP3 for Solaris 8?
When I deploy my application in iAS 6 SP3 for Solaris 8 the deployment process seems to die or get stuck. In the shell window i get the messages
iasdeploy for iPlanet Application Server 6.0 SP3
Connected to LDAP server on sstu15.auto.com port 389
iPlanet Application Server is running in international mode
sstu15:null
sstu15:10 kas> deployment action ''J2EEInstallEar'' (/u02/home/iplanet/JAR/SSS.ear) running.
sstu15:10 kas> deployment action ''J2EEInstallEar'' (/u02/home/iplanet/JAR/SSS.ear) running.
After this nothing happens for a really long time.
When starting the deployment I get in the beginning of kas.log two entries
ADMIN-168: kas> deployment get log ''J2EEInstallEar''
GDS-007: finished a registry load
but suddenly the second line disappears and the only message I get is the first entry. I need to break the deployment process and kill the processes manually.
When starting the application server I get two error messages:
Connected to LDAP server on sstu15.auto.com port 389
iPlanet Application Server is running in international mode
Connected to LDAP server on sstu15.auto.com port 389
iPlanet Application Server is running in international mode
iPlanet Administrative Server
Version 6.0 SP3, Build 20010704
Copyright (c) 1996-1997 KIVA Software Corporation.
Copyright (c) 1998-1999 Netscape Communications Corporation.
Copyright (c) 2000-2001 Sun Microsystems, Inc. Some preexisting portions Copyright (c) 2000 Netscape Communications Corp
. All rights reserved.
Use of this software is governed by the terms of the executed license agreement between you and iPlanet E-Commerce Solutions.
[14/Feb/2002 11:02:12:7] error: ADMIN-071: kas> error: failed to either start up or connect to engine ''0'' (CCS0)
[14/Feb/2002 11:03:08:8] error: ADMIN-071: kas> error: failed to either start up or connect to engine ''1'' (CCS0)
I think all processes starts OK, I get one for .kas and one for kas, one for .kxs and one for kxs and finally one for .kjs and one for kjs.
Is someone familiar with this/these problem(s)?It seems you are deploying a very big application. Try to deploy this application with following command
j2eeappreg <filename>
It should work fine. It was a bug with iasdeploy command in iAS SP3 which had been fixed in iAS SP4. -
Ps (list process) command in Solaris 10
Dear all
I'm upgrade from Solaris 9 to Solaris 10 and recently I meet one problem:
In solaris 9, If I want to check the complete command for the running process, I could use
/usr/ucb/ps -auxww
then, the system could gives me everything.
But in Solaris 10, I use the same command, but it seems that system has "cut" the args and I can't get the expected result anymore.
Anybody ever meet such a problem before? could you give me some hints?
Cheers
ShenUnder normal circumstances, the /usr/ucb/ps command is attempting to read the ARGV[0] from the process itself. This string can be long, but is under the control of the process (it can change it while it runs). Also, because of security issues, reading this data requires process privileges (usually have to be the owner or root).
If privileges do not exist, ps will fall back to using the kernel buffer holding the first 80 characters of the exec string. This string is potentially shorter, but not under the control of the process, and no security restrictions exist for reading it.
Besides /usr/ucb/ps, you can use 'pargs <PID>' to view this string. Of course if privileges aren't held, it won't tell you anything new. But it may be more explicit in telling you that fact, rather than silently substituting the kernel string instead.
$ pargs 597
pargs: cannto examine 597: permission denied
Darren -
Also I need ndiswrapper support for solaris 10
I have a linksys -G type router and my computer uses a Linksys Wireless-G PCI Adapter with SpeedBooster
which works in Linux like mandrake , debian systems like knoppix and kanotix but their are some buggy like debian also that don't let me change the essid in debian but most linux works with the drivers for my card which are
04/13/2004 10:01 AM 7,870 BCM43XX.CAT
03/31/2004 08:44 AM 11,960 BCMWL5.INF
02/19/2004 11:51 AM 300,928 BCMWL5.SYS
normally you install the drivers with ndiswrapper -i BCMWL5.INF then use -m to add it too the model loader program in linux which adds wlan0 to ifconfig and iwconfig programs
which also ndiswrapper requires the source code of the kernel to install the ndiswrapper right , it req. it too compile the drivers, and using the linux gui programs to setup essid and key wep info
also I use a script in kanotix to use /etc/network/interfaces to load the info on bootup etc.. to get my wireless network card up in linux.
also how the support for soundblaster sound cards in solaris 10, I have not fingured out if theirs sound yet. freebsd 5.4 seemed to be missing the sound support
one more thing in bootup of the install program for Solaris 10 my geforce 6800 card detected right but my tv output was all wrong in since the picture , was only on the monitor and tv had stange graphics on it which did not look right I hope nvidia drivers fix this problem , Is their any different command needed for clone mode in Solaris 10 then free86 nd xorg scripts use?I got the solutiion from Canon Customer Serivce, temporary until the 10.10 download is released. It works:
"You can download the latest software updates at this address:
http://www.usa.canon.com/cusa/support/professional/professional_cameras/eos_digital_slr_cameras/eos_...
Please select "OS X Mavericks v10.9" using the drop-down menu on the page. You have to pick the previous version of Mac OS, because the options for OS X 10.10 Yosemite have not yet been populated. I sincerely apologize for any confusion this may cause. After selecting OS X 10.9, please click on the red triangle next to the word "Software" to see the software updates available for your computer. I would recommend updating all of your software including EOS Utility and Digital Photo Professional."
I never did find the drop-down menu, but I went into the site map and found what I needed.
Barry
Maybe you are looking for
-
Hello All, We have a dump created using expdp on a Oracle 11.2.0.3 hosted on a Linux machine. Now we are trying to import this dump to a Oracle 11.2.0.2 hosted on a Windows Server 2008 R2. We are unable to do this import successfully. The import is e
-
Daqmx separate multiple physical cahnnels apply equations and collect information
Dear People! I am using a DAQCard 6023E with 16 channels. My purpose is to collect information from a gasifier to find temperature and pressures from 7 of the channels and 4 channels respectively. Forget about the pressure to make the problem more ea
-
Dear All, We have taken the taxcode in PO, V3(8%BED2%EC1%HSEC+12.5%VAT), and against this PO we have 30 GR. Now we are posting the inv for first 10 GR. Here the VAT amt is coming 1.24 Rs higher than the calculated% ie:12.5%. Can anybody came across t
-
How to define roles for the reports that i have created using WAD?
Hi all, Can anyone let me know how to define roles for the reports generated using WAD. And what is the procedure for creating and defining roles. Is this process take care of Bw consultant nor the basis guys. Can anyone let me know the entire proced
-
Regd Delivery doc..
Hi, I am in the delivery screen VL02N. Some deliver doc is visible. How can I know which doc type is it without going to SPRO or VOV8 to check which delivery document is attached to the corr so?? Cheerz.. Subbz...