Sponsored Content
Operating Systems HP-UX Parameter to avoid file being deleted by SAM Post 302349366 by sb008 on Monday 31st of August 2009 07:49:59 PM
Old 08-31-2009
To avoid this and unexpected results from other commands or options in SAM I suggest you take a Unix course.

Unless you prefer to turn a Unix box into a Windows box.
 

8 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

SAM file

I am having a problem on an HP box, where I am being told that there are too many open files. I am also being told I need to change a SAM file. Could some help me understand what a SAM files is and what it is used for. Thanks. (2 Replies)
Discussion started by: kristian
2 Replies

2. UNIX for Dummies Questions & Answers

Avoid Duplicates in a file

Hi Gurus, I had a question regarding avoiding duplicates.i have a file abc.txt abc.txt ------- READER_1_1_1> HIER_28056 XML Reader: Error occurred while parsing:; line number ; column number READER_1_3_1> Sun Mar 23 23:52:48 2008 READER_1_3_1> HIER_28056 XML Reader: Error occurred while... (7 Replies)
Discussion started by: pssandeep
7 Replies

3. Shell Programming and Scripting

How to avoid a temp file

Hi all. I want to check the free space on a given FS and process the output. Right now, I'm using a temp file to avoid using df twice. This is what I'm doing #!/usr/bin/ksh ... df -k $FS_NAME > $TMP_FILE 2>&1 if ]; then RESULT="CRITICAL - $(cat $TMP_FILE)" else cat $TMP_FILE | ...... (3 Replies)
Discussion started by: fox1212
3 Replies

4. UNIX for Dummies Questions & Answers

how to know who has deleted the file.

Hi, We have a file which needs supper user previleges to delete. There are 10 users having super user preveleges. Some times back that file got deleted. How to know who has deleted that file? (6 Replies)
Discussion started by: siba.s.nayak
6 Replies

5. Programming

[c]Why first file is creating after the second. How to avoid

Hi, My Code is as below: nbECRITS = fwrite(strstr(data->buffer, ";") + 1, sizeof(char), (data->buffsize) - LEN_NOM_FIC, fic_sortie); fclose(fic_sortie); sprintf(PATH_BALISE, "%s.balise", PATH); fic_balise_data = fopen(PATH_BALISE, "a+"); if (fic_balise_data == NULL) {... (1 Reply)
Discussion started by: ezee
1 Replies

6. Shell Programming and Scripting

How to get the parameter value from the parameter file in perl?

hi all, i have a parameter file of following format, i want a method which can get the value of specific parameter. parameter file format: <Parameter Name="FileLocationWindows"> <Description> The directory location of the logger file. ... (1 Reply)
Discussion started by: laxmikant.hcl
1 Replies

7. Shell Programming and Scripting

Avoid overwriting backup file when multiple entries need to replace in one file input from another

Hello, I have been working on script in which search and replace the multiple pattern. 1. update_params.sh read the multiple pattern from input file ParamMapping.txt(old_entry|New_entry) and passing this values one by one to change_text.sh 2. change_text.sh read... (0 Replies)
Discussion started by: ketanraut
0 Replies

8. Shell Programming and Scripting

Write only changes to file - avoid duplicates

I want to create a file, to save a list of fail2ban blocked ip addresses. So I thought I'd create a loop that will check with fail2ban every minute, and write the ip addresses to a file. while true; do echo $(fail2ban-client status asterisk-iptables | grep 'IP list' | sed 's/.*://g' | sed -e... (4 Replies)
Discussion started by: aristosv
4 Replies
sam(1M) 																   sam(1M)

NAME
sam - HP System Administration Manager (HP SAM) SYNOPSIS
[ login | ] DESCRIPTION
The command launches the HP System Management Homepage (HP SMH) program for performing system administration on the HP-UX operating system. HP SMH is an enhanced web-based program of HP System Administration Manager (HP SAM) in the HP-UX 11i V3 release. For more information, see smh(1M). If the environment variable is set, the Web-based HP SMH is displayed. If the environment variable is not set, the terminal user interface of HP SMH is displayed. Deprecation Notice The command is deprecated in HP-UX 11i V3 release. HP recommends you use the command. Options recognizes the following options. Execute SAM with the privileges associated with the specified login. When used in conjunction with the Restricted SMH Builder is invoked and initialized with the privileges associated with the specified login. You must be a superuser to use this option. See below for more information. Invokes Restricted SMH. This enables the system administrator to assign limited privileged user access to SMH functionality. You must be a privi- leged user to use this option. See the section below for more information. Restricted SMH Generally, SMH requires privileged user rights to execute successfully. However, through the use of Restricted SMH, SMH can be configured to allow subsets of its functionality to certain non-privileged users or groups of users. System administrators access Restricted SMH by invoking SMH with the option (see above). In Restricted SMH, system administrators may assign subsets of SAM functionality on a per-user or per-group basis. When Restricted SMH is used, non-privileged users are promoted to privileged users when necessary to enable them to execute successfully. By default, Restricted SMH executes all applications as privileged user. However, certain applications, like software distributor have their own security mechanism and do not follow the Restricted SMH security model. In such cases, the application launched through Restricted SMH will be executed with the login ID of the user who invokes it. A non-privileged user who has been given Restricted SMH privileges simply executes and sees only those areas the user is privileged to access. All the SMH functional areas require the user to be promoted to be a privileged user in order to execute successfully. SMH does this auto- matically as needed. SMH provides a default set of SMH functional areas that the system administrator can assign to other users. Restricted SMH applies only to terminal user interfaces. Restricted SMH does not apply to Web-based GUI (HP SMH) since HP SMH has its own roles. For more information, refer to the HP SMH documentation available at and the HP SMH product online help system. SAM Functional Areas SAM has been replaced by SMH. For more information on the various functional areas, see smh(1M). SAM Logging All actions taken by SAM are logged into the SAM log file at The log entries in this file can be viewed using the SAM utility command (see samlog_viewer(1)). can filter the log file by user name, by time of log entry creation, and by level of detail. Functionality Obsolescence and Changes The following functional areas of the previous SAM interface have been removed, changed, or are planned to be obsolete in a future release of HP-UX. Alternate procedures are listed as appropriate. o Trusted systems is planned for obsolescence post HP-UX 11i V3 release. o Backup and Recovery. Use the and commands from the HP-UX system prompt. You can also use backup tools, such as pax(1), from the HP-UX command prompt. o Tape Drives. Add or remove device entries by editing the file or use and commands from the HP-UX command prompt. o Terminals and Modems. Use and commands from the HP-UX command prompt. o Uninterruptable Power Supplies. o Performance Management. Monitor the performance of HP-UX using the commands and o Process Management. To manage processes for such functions as stopping, continuing, changing priority, use and o Routine Tasks. Tasks such as shutting down the system and removing files that are large, unowned, or core files are handled by and o Run SAM on Remote Systems. Executing or configuring SAM on remote systems is no longer needed, because all systems are managed through HP Systems Insight Manager (HP SIM). For more information on HP SIM, see o Custom applications cannot be added using SAM. Any custom application that needs to be added in SAM must provide its own registration files. The registration file has a specific format. You can view a sample registration file from WARNINGS
cannot be run in the background even if the environment variable is set from HP-UX 11i V3 release. The Disks and File Systems area of SAM does not display or configure all the types of devices when the legacy mode of mass storage stack is disabled. AUTHOR
was developed by HP. SEE ALSO
samlog_viewer(1), evweb(1M), fsweb(1M), hpsmh(1M), kcweb(1M), ncweb(1M), parmgr(1M), pdweb(1M), secweb(1M), smh(1M), smhstartconfig(1M), ugweb(1M), intro(7). at TO BE OBSOLETED sam(1M)
All times are GMT -4. The time now is 10:29 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy