Linux/Unix system API help
Hi thr..
Can anyone help where to find documentation for system calls in UNIX just like win32 API ... In windows thr is MSDN like an ocean for API help ..but for UNIX whr do i go for API functions and defnitions ???
If you are programming in Java, don't use OS dependant calls.
If you want to use C/C++ use the man pages.
These are available on the web, search via google.
Similar Messages
-
Linux/Unix Server Monitoring in Same Resource Pool as Windows Monitoring
Hi
We are planning to deploy OpsMgr 2012 R2 for our single site infrastructure. We wish to monitor Windows, Linux/Unix and Network Devices. I know that separate resource pools are recommended for monitoring Network devices but can we have a single resource
pool that can monitor Windows as well as Linux/Unix systems?
If same resource pool can be used for Windows as well as Linux/Unix systems, what are the limitations of doing this vs using separate resource pools for them.
Thanks
Taranjeet Singh
zamnHi Tranjeet, In answer to your questions:
1. Having separate resource pools (in case of Windows and Linux systems) and single Management Server in each resource pool
A: Dedicated specific management servers for specific servers to be monitored from. (ie isolation of environments like test dev prod)
2. Having single resource pool with multiple Management Servers managing Windows as well as Linux systems.
HA
Cheers,
Martin
Blog:
http://sustaslog.wordpress.com
LinkedIn:
Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose. -
Start Java application at system start up linux/unix
Hi,
I am working on a application, which needs to run as a background process in linux/unix without the intervention of the user.
Please give me the details procedure how to make it as background process.
thanksyou can make any process a background process by adding an amperstand
for example:
java -cp $MyClassPath myAppClass &
If you want to run it automatically at startup
you'll have to write a little script which is executed at startup
and contains a line as above.
The scripts exectuted at startup are usually located at
/etc/init.d
You can use one of those scripts as starting point for your own script. -
SCCM 2012 R2 Linux\Unix Client High CPU Usage
Hello,
We have recently implemented SCCM 2012 R2 in a mixed Windows \ Solaris \ RHEL environment. The Unix\Linux client are at the SCCM 2012 R2 CU2 - Version
5.00.7958.1024.
A small number of system outages have occured recently on the Linux & Solaris systems. SCCM is one of several candidate causes.
One issue we have seen on these systems is high CPU usage by ccmexed.bin
The TOP command shows the process regulalry using more than 100% of a single CPU core.
The PRSTAT command shows a more resonable CPU usage accross all cores.
However, in both cases the process is using significantly more CPU resource than other systems processes - including SAP and Oracle.
Are there any known issues\reported bugs with high CPU usage on RHEL 5 & 6 and Solaris 10 x86?
I know CU3 for Unix\Linux has just been released and I will certainly be looking at applying that in the environment - more
expeditiously
if this is a recognised issue and fixed in CU3
Regards, ChrisHi Chris,
Yes, the latest Clients Clients Clients including bug fixes and added support for RHEL 7, CentOS 7, and Oracle Linux 7
Please apply the fix and see how it goes.
http://www.microsoft.com/en-us/download/details.aspx?id=39360
Thanks.
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. -
Can SAP be used with Linux & Unix...
Hi there ,
I got a query that whether SAP can be used with Unix & Linux Operating System ...
Thanks & Regards
Kaushik ChoudhuryÝes, Any ERP package can be used at any of the OS with any of the firewall or secure access systems. That is one of the advantages of going for ERP systems over custom applications. Custom applications are OS and database dependent while ERPs are mostly not.
SAP can be installed in Windows, Linux, Unix in various databases too.
Hope this helps you.
Reward if it helps. -
Conn between progress 9.1d database(winnt) and Oracle 9.2 on linux/unix
Hai,
Iam new to this situation.
Where i have to establish a connection between
Prograss Database 9.1D and Oracle on linux/unix.
For i gone through metalink documents.
There is procedure like Hetrogenious Services.
But my question is.
Is this HSODBC will be installed along with Oracle EE or we have to install.
If installed how to check that service.
And to connect to Progress Database we need ODBC drivers for linux.
I couldn't find from Data-Direct technologies site.If any one know about the link please help me.
If any one gone through this please tell me the procedure how to over come from this.
RegardsIf the matrix says "Oracle 9.2.0.5 through Oracle 11.1.0.6.0, 11.2.0.1.0" then that means Oracle 10.2.0.x will be supported.
It says you need the installer patch if "To use Oracle database 11.2.0.1.0 for any product, you must apply the EPM System Installer patch 11.1.1.3.05. "
If you are using 10.2.0.x then you will not need to.
Cheers
John
http://john-goodwin.blogspot.com/ -
Linux/Unix error messages & troubleshooting notes
I am looking for some book/notes where i can check linux/unix error messages and what's there meaning? & possible what's fix? & any troubleshooting guide would help too....
eg
SQL> connect /as sysdba;
ERROR:
ORA-09925: Unable to create audit trail file
IBM AIX RISC System/6000 Error: 89: Invalid file system control data detected
Additional information: 9925
ORA-09925: Unable to create audit trail file
IBM AIX RISC System/6000 Error: 89: Invalid file system control data detected
Additional information: 9925DBA2008 wrote:
I am looking for some metalink notes# /document for Linux Troubleshooting, i want to know more about these topics
1. Troubleshooting Techniques
Troubleshooting methods
Best practices
Tools
2. Troubleshooting Boot Issues
Working with advanced GRUB features
Rescue and GRUB CDs
Advanced ext2/ext3 filesystem repair
Rescuing RAID and LVM volumes
3. Local Configuration
Tools to identify configuration problems
4. Hardware
Preempting hardware failures (looking for the signs)
Protecting against hardware failures
Redundant configurations
Tools to help identify hardware failures and intermittent problems
5. Applications
Tools and techniques for troubleshooting applications
Common application problems and how to solve them
6. Network
Manual configuration of network cards
Troubleshooting advanced setups (bonded interfaces, virtual interfaces)
Connectivity issues
Network diagnostic tools
7. Security
Working effectively with (and not against) security tools, including SELinux, SSL, and authentication
8. Red Hat Resources and Reporting Problems
Support options
Knowledgebase
Certified training
Initiating support calls
TAM support
Developer support
Bugzillas
Support workflow
Diagnostic and information-gathering tools
Edited by: DBA2008 on May 14, 2009 4:02 PMHave you done and got the training for RHCT/RCHE or taken advantage of training, eg cdrom or classrom, as listed here:
[http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getsearchpage?page_id=13&p_search_category_id=1345]
or
[http://education.oracle.com/pls/web_prod-plq-dad/show_desc.redirect?dc=D46590GC10&p_org_id=28&lang=US]
That would seem the most sensible way of covering that vastness of ground. -
Linux/ unix administrator quick book
Looking for linux/ unix administrator quick book
Hi DBA2008
I can advice you the following books:
http://www.amazon.com/Linux-Administration-Beginners-Steve-Shah/dp/0072131365
http://www.amazon.com/Linux-System-Administration-Tom-Adelstein/dp/0596009526/ref=pd_sim_b_28
http://www.amazon.com/Learning-UNIX-Operating-System-Fifth/dp/0596002610/ref=pd_bbs_sr_3?ie=UTF8&s=books&qid=1218537408&sr=1-3
And a quite good book :
http://www.amazon.com/Essential-System-Administration-Third-Frisch/dp/0596003439/ref=pd_sim_b_8
Additionally you can prepare the certification Linux+ with the following book:
http://www.amazon.com/Linux-Study-Guide-3rd-XKO-002/dp/078214389X/ref=pd_bbs_sr_2?ie=UTF8&s=books&qid=1218537517&sr=1-2
Hopefully this helps you.
forgotten that book:
http://www.amazon.com/Linux-System-Administration-Black-Book/dp/1576104192
Message was edited by:
Hub -
Hello all, now that I know the hardware aspects of the mac I thought it's about time I learned the Unix system. I really only know DOS commands, windows, and anything else dealing with the Windows system. I'm ashamed to say I can't even figure out how to use a .tar.gz file even though I researched it too.. I don't truly want to waste anyone's time but if you would it is greatly appreciated.
Hi 21q,
I was just passing by. Would you like some names of classical introductory books (primers) that present +unix wizards+ used when they were in your place? They're likely unwanted today, so sell for pennies on places like
http://www.bookfinder.com/
+Panther's Darwin+ used Linux, and Tiger's used +BSD Unix+ (the Berkeley Service Distribution), +AT&T's System V+ with many networking additions to help academics & students communicate. Unix was an elegant 'system'. The beautiful book by Steven Bourne, however, you'll find useless without its commands, at least, re-installed to Darwin.
Some Berkeley extensions, such as finger, were removed when the internet went public. You can still use these on your LAN, though! One day I was using spell and its list in text of all words in +Webster's 2d International Dictionary+ to create limited vocabularies for my 5-year old granddaughter The next day the list was gone. So, ask these knowledgeable people where to get these commands. (Archives other than Fink require you know unix already to get it.) It's free, and the source code is included!
It is very helpful to know what the 2- or 3-letter commands mean, because there are hundreds (as opposed to a dozen on DOS). Though I thought they were designed short & in lower case so several could be on one line, Ken Thompson said he was just a poor touch typist.
The low-level unix 'commands', designed to be incorporated into C programs, are still here, so you can write C-language applications using these. Again, we can refer you to the best introductions.
Note that 'tar' stood for 'tape archiver', which concatenated & copied many files as one, and 'gz' likely stood for the compression utility 'GNU zip' (as it zipping your suitcase). No list of 'official meanings' exists, so guessing their meaning is an ongoing puzzle. 'Biff', however, you'll never guess: this command, which beeped when mail arrived, was the name of its author's dog, who barked instead. The pair, '.tar.gz' is often referred to as a 'tar ball'.
I shan't discuss why Unix, originally built for use by two people on one small machine, spread like fire throughout universities, but the original unix was a work of art. You can appreciate this if you can get most of it back, though you can no longer use such scripts as 'rc' (run command?) in /etc to configure your system.
With primers on programming, books by Comer or Tannenbaum, and the source code on archives, you can use your Mac to master programming to any level. Though Objective-C, I'm told, is elegant, and AppleScript powerful; these are not ISO standard languages, portable to any computer. So I'd recommend learning Unix & C early, using either the vi or emacs editor.
This is a slight expansion of Neil's reply.
Bruce
PS. Unix has three 'standard' devices to work with: standard input, standard output, and standard error. These were originally displayed on separate monitors, but standard input is now your keyboard & mouse, standard output the 'Terminal', and standard error is the 'Console' (named after a network administrator's console). I direct all errors to the console, and placed it in my dock. -
How to run a JAR file in Unix system?
hi there
ca anyone tell me how to run a JAR file in unix system or X window, thank youYou want to create an executable JAR file? You do it in the following way.
Create a manifest file such as manif.txt and the contents should contain
Main-Class: foo
assuming foo is the name of your main class. Then create the jar as follows
jar cvfm foo.jar manif.txt foo.class
I hope that helps you!
you can find more info here http://java.sun.com/docs/books/tutorial/jar/ -
Installing Oracle Web Tier 32-bit on a 64-bit Linux Operating System
Hello,
We're trying to install the 11.1.1.2 32-bit web tier on a RHEL 5 64-bit system following these directions: http://download.oracle.com/docs/cd/E15523_01/doc.1111/e14770/install.htm#CHDCGDJG
We're trying to figure out the equivalent on our system to these notes:
"c.Using a text editor such as vi, create a new file called gcc41 that contains the following conent:
#!/bin/sh
exec /usr/bin/gcc.orig -m32 -static-libgcc
-B/usr/lib/gcc/i586-suse-linux/2.95.3/ $*
Note:
The file i586-suse-linux/2.95.3 may differ slightly depending on the exact version of your Linux operating system. Verify the exact version of your Linux operating system in use; search for the 32bit directory in /usr/lib/gcc and obtain the exact file name."
We think ths might be the closest thing:
[root@server1 32]# pwd
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/32
[root@server1 32]# ls
crtbegin.o crtbeginT.o crtendS.o libgcc.a libgcc_s.so libgomp.a libmudflap.a libmudflapth.a libstdc++.a libsupc++.a
crtbeginS.o crtend.o crtfastmath.o libgcc_eh.a libgcov.a libgomp.so libmudflap.so libmudflapth.so libstdc++.so
Can someone tell us what "file" they are speaking of in this environment? Or is that "2.95.3" a directory??
Thanks for the help!For anyone that might run into the same problem, here's what needs to be in the gcc41 for a RHEL 5 64-bit platform:
#!/bin/sh
exec /usr/bin/gcc.orig -m32 $* -
Do you have solution to add a signature on PDF files on HPUX (unix) system
Hello,
My company plans tio use PDF files for our customers billings and we need to add signature to them.
As our PDF files are generated on a HPUX (unix) system, and quite 10000 files a day will be generated, do you have a solution do add signature to thses files directly on our unix system ?
Thank you for help.Hello,
just to let you know that I had a contact with DataLogics who developped a new toolkit that seems to manage digital signature .
Adobe PDF Java Toolkit http://www.datalogics.com/products/pdfjt/
I will let you know the results of my tests in the next weeks.
thanks. -
Using Runtime.exec on a Unix System
hi,
I have a web service which executes a command line process 'Runtime.exec(command)'. When the server starts to go on a high load I start to get "IOException: Not Enough Space" which I understand means that I am running out of swap space. No problem as I can increase the swap space to cope with demand. The problem is that I have read that when JVM attempts a fork on a Unix system it temporarily creates a new JVM with the same space requirements as the app server JVM. So if I set my app server to require 1GB memory, I am likely to need to set up swap so that it has 1GB * Number of Parallel Processes. I need to know if this is correct. Our application today does not limit the number of Runtime.exec commands which can be run in parallel and if the above is true we are going to have a problem ensuring we don't run out of memory.
Can any one verify this or suggest other solutions to the problem?
Thanks
Stephenhi,
Yes, very helpful jwenting! Problem is that we are working with legacy systems where we have few other options. If you can give any positive input it's not worth leaving your option at all.
Thanks
Stephen -
MS-ACCESS from Unix system..
Hi,
I have a MS-Access database on Windows 2000 server. I need to write a java program running on a Unix system (AIX, Solaris or Linux) that accesses the database on the windows 2000 server. I can make it work on windows box using JDBC-ODBC bridge. How can I do that from a unix box? Thanks.The easiest way is to get a pure Java JDBC driver for
MS Access. I am rather certain that that does not exist. There are certainly systems that provide a java only driver which allows one to access MS Access. But they involve more than just java.
(Every time I searched the JDBC driver list for MS Access drivers all I found were proxy drivers.) -
Hi!
Can anyone tell me how to do Unix System Calls in my Java program?
If possible please give me the java code for it taking one unix system call as an example.
Thanks in advance
Rajdo you mean firing off a shell command, or making actual kernel API calls or C library calls?
for shell commands, have a look at Runtime.exec(). for kernel calls, use JNI. the JNI FAQ mentions something called "shared stubs" that may be of use:
http://java.sun.com/products/jdk/faq/jnifaq.html
cheers,
p
Maybe you are looking for
-
Marketing Documents through B1if
We are implemented a integration between Business One and other sys and need send Marketing Documents to B1. To DI API and DI Server, the XML Schema these objects its kind: <BOM> <BO> <AdmInfo> <Object>13</Object> <Version>2</Ver
-
Hi all , System status ACTP for some WBS in project are not Update automatically till Sales Order created & released (no Issue log found for SO) under that WBS . But in same Project for some WBS it update automatically . Also Due to which report cre
-
SPLIT the cell in either template or table horizontally
Hi , Hope you all doing well, Can any body let me know how to split the cell in eithe template or table horizontally, what i mean to say in detail is that i have created three cells using two lines types, which it gave be 3 bo
-
GTK 2.0 issues? [solved]
Well, ever since the new gtk 2.0 came out the buttons don't look how a theme should, they are always embossed. Last edited by twiistedkaos (2007-02-22 00:52:29)
-
Speeds in my line very, very slow.
There are the speedtest results: Test1 comprises of Best Effort Test: -provides background information. Download Speed 1783 Kbps 0 Kbps 2000 Kbps Max Achievable Speed Download speedachieved during the test was - 1783 Kbps For your connection, th