Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Change directory for core file Post 302956681 by RavinderSingh13 on Friday 2nd of October 2015 02:16:56 AM
Old 10-02-2015
Hello Raj,

It completly depends on the services/application/tools you are using that where you want to set the default location of the logs(including core/dump logs).As you haven't mentioned which tool you are using so let's say for an example I am using JMS(Java method Server) an efficient tool for handling JAVA applications to call methods using web services or dmbasic methods. It is fairly used in content managment tools specially Documentum(A product of EMC2 very famous for content mgmt). So after installing JMS you will get the default STOP/START scripts to make service up and down in that case you have option there to mention the location of logs(any code deplyment or code/dumps too), so let's say I have given there location /tmp then it will put all logs there and if I am NOT setting anythig then it will put them in a default location $DM_HOME/bin. So check in your tool and try to expore it more about these things, share with us which tool you are using if it is not harming your company's policy. You should get many options to do so.

Hope this helps.

Thanks,
R. Singh
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How do I change security on a file or directory?

What command(s) do I use to change the security on a file? I need to change the owner as well as read write end execute options. (5 Replies)
Discussion started by: ekkehard
5 Replies

2. UNIX for Dummies Questions & Answers

Delete Core file in root directory

HP UX 11i Ok my server is about to run out of space, and i would like to know if there is something that i should be doing on a regular basis to maintain the machine like logs that i should clear or dmp file that i should delete... Thanks in Advance (2 Replies)
Discussion started by: bbutler3295
2 Replies

3. AIX

core file default directory

Is there a setting anywhere to set the default directory for core files rather than creating in /home ?, and I believe there is an option to have named core files e.g core.login.2905, again does anyone know the setting. (0 Replies)
Discussion started by: gefa
0 Replies

4. UNIX for Dummies Questions & Answers

Change All File Names in a Directory

Hi, If I have a directory full of say 100 random files, and I would like to organize them, for example: FILE001, FILE002, FILE003, FILE004, etc. How would I do this from Terminal, instead of manually changing each file? I'm using Mac OS X, if that makes a difference. Thank you in advance... (8 Replies)
Discussion started by: andou
8 Replies

5. UNIX for Dummies Questions & Answers

Change Directory

I have a directory that is existing under my root dir of the FTP server. The DIR name is 'Software Patch'. I want to move in to that DIR to download some patches. But, when I issued a command 'cd SOftware Patch', the system said that it cannot find the dir 'Software'. I tried all possible ways like... (2 Replies)
Discussion started by: vskr72
2 Replies

6. Shell Programming and Scripting

How can we change the permissions of a file in a directory

Hi All, I am trying to wite a Shell script which changes the permission of the files in a folder but stuck at a particular point,please help. The scenario is as follwoing: I am having a list of 10 files and a folder which has 100 files. I need to copare the list and the folder ,for... (4 Replies)
Discussion started by: Sriram.Vedula53
4 Replies

7. UNIX for Dummies Questions & Answers

How to change database directory to another directory?

Hi, I Installed mysql on my CentOS 6.2 Server. But when I tried to change the location of /var/lib/mysql to another directory. I can't start the mysql. Below is what I've done yum install mysql mysql-server mysql-devel mkdir /path/to/new/ cp -R /var/lib/mysql /path/to/new chown -R... (1 Reply)
Discussion started by: ganitolngyundre
1 Replies

8. Shell Programming and Scripting

Change to directory and search some file in that directory in single command

I am trying to do the following task : export ENV=aaa export ENV_PATH=$(cd /apps | ls | grep $ENV) However, it's not working. What's the way to change to directory and search some file in that directory in single command Please help. (2 Replies)
Discussion started by: saurau
2 Replies

9. Shell Programming and Scripting

Change Directory

Hi All, There is a code like below in my script ############################################### ###Create Directories and Sub-Directories ############################################### dpdir=DP_FROM_${from}_TO_${to} mkdir $dpdir cd $dpdir mkdir AWQM WFCONTROLLER PROVCO PRISM ... (1 Reply)
Discussion started by: pvmanikandan
1 Replies
network-admin(1)						   User Commands						  network-admin(1)

NAME
network-admin - Basic administration of network interfaces. SYNOPSIS
network-admin [--configure=INTERFACE] [--configure-type=TYPE] [gnome-std-options] DESCRIPTION
network-admin enumerates the interfaces available to the user and provides a mechanism for configuring these interfaces as static-IP or DHCP. It's also possible to select which interfaces should be enabled on boot. network-admin also allows you configure the systems hostname, DNS options and hosts using the user interface. OPTIONS
The following options are supported: -c, --configure=INTERFACE Configure a specific network interface (e.g. ath0 or bge0). -t, --configure-type=TYPE Configure the first network interface of a specific type (e.g. ethernet or wireless). gnome-std-options Standard options available for use with most GNOME applications. See gnome-std-options(5) for more informa- tion. EXAMPLES
Example 1: Running the main application. example% network-admin Example 2: Configuring the ath0 network interface. example% network-admin --configure=ath0 Example 3: Configuring the first ethernet interface. example% network-admin --configure-type=ethernet EXIT STATUS
The following exit values are returned: 0 Application exited successfully >0 Application exited with failure FILES
The following files are used by this application: /usr/bin/network-admin Executable for network interface configuration. /etc/inet/gnome-system-tools Storage location for network configuration files when not active on boot. /var/spool/setup-tool-backends/backup/network Backup directory for files that are modified. /var/spool/setup-tool-backends/data/network Where "Location" profiles are stored. /var/run/setup-tool-backends/debug/network Debug logs can be found under here. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWgnome-system-tools | +-----------------------------+-----------------------------+ |Interface stability |Uncommitted | +-----------------------------+-----------------------------+ SEE ALSO
Latest version of the GNOME Desktop User Guide for your platform. users-admin(1), shares-admin(1), services-admin(1), time-admin(1), gnome-std-options(5), ifconfig(1M), hosts(4), nsswitch.conf(4), resolv.conf(4), attributes(5) NOTES
This tool can only be used to manage physical network devices as returned by the "dladm show-dev" command, it does not support configura- tion of more complex configurations. There is currently no support for enterprise name services such as YP/NIS, NIS+ or LDAP. There is also no support for anything but the global zone. Written by Darren Kenny, Sun Microsystems Inc., 2006. SunOS 5.11 6 Nov 2006 network-admin(1)
All times are GMT -4. The time now is 03:21 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy