calculate BOS file system


 
Thread Tools Search this Thread
Operating Systems AIX calculate BOS file system
# 1  
Old 08-26-2008
calculate BOS file system

Hi All,

How do you calculate the BOS filesystem on rootvg(/, /usr, /var, and /opt) and the BLV? So that I could calculate how much space I need on doing multibos.

Any idea will be appreciated, thanks.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to calculate what percentage of X value is there in the file?

Input File: 5081 2058 175 8282 2358 7347 6612 3459 END OF INPUT FILE I need to know how to calculate minimum,maximum,average of the values in the file and also what percentage is the values over some user defined value for example 1000 and what percentage of value is over 5000. By... (2 Replies)
Discussion started by: aroragaurav.84
2 Replies

2. AIX

How can I calculate exact memory used on AIX system?

I already checked memory on AIX with "svmon -G" and vmstat (as the figure). I see the value "inuse" nearly=97% use memory, free=3%. However, the value "pin=cache" nearly=26%. Can I calculate total free memory= free+ pin = 29% ? please help me! Thanks so much! (5 Replies)
Discussion started by: xuanthanhnk
5 Replies

3. AIX

what is BOS

what is BOS (3 Replies)
Discussion started by: joyhu
3 Replies

4. Shell Programming and Scripting

Calculate age of a file | calculate time difference

Hello, I'm trying to create a shell script (#!/bin/sh) which should tell me the age of a file in minutes... I have a process, which delivers me all 15 minutes a new file and I want to have a monitoring script, which sends me an email, if the present file is older than 20 minutes. To do... (10 Replies)
Discussion started by: worm
10 Replies

5. Shell Programming and Scripting

Parse file from remote server to calculate count of string existence in that file

Hi I need to parse the file of same name which exist on different servers and calculate the count of string existed in both files. Say a file abc.log exist on 2 servers. I want to search for string "test" on both files and calculate the total count of search string's existence. For... (6 Replies)
Discussion started by: poweroflinux
6 Replies

6. Shell Programming and Scripting

how can i calculate a file using awk

hi all Am new to scripting... So,i have a file named file1 its contents are as follows: joy 55 66 77 ruby 77 88 99 saloni 88 44 33 I would require a script which will calculate its percentage,its total and the average with awk script Many thanks in advance.. Please reply me at... (4 Replies)
Discussion started by: whizkidash
4 Replies

7. Shell Programming and Scripting

Calculate the time difference between a local file and a remote file.

I m stuck with a issue. I need to calculate the time difference between two files.. one on the local machine and one on the remote machine using a script. Can any one suggest the way this can be achevied Thanks, manohar (1 Reply)
Discussion started by: meetmano143
1 Replies

8. UNIX for Dummies Questions & Answers

how to mount a file system of a remote machine to local file system

Hi friends, In my case, there are serveral PCs running Linux in a LAN. I would like to to mount the directory /A_river of machine-A to the file system of another machine machine-B so that I can access files in that directory. I do not know how to do this. The situation is complicated by... (2 Replies)
Discussion started by: cy163
2 Replies

9. AIX

About bos.rte v=4,r<2

I have check the fileset with in AIX 4.2 and I have found this error after I type in lppchk -v. Can anyone help me out with this problem ? I am new here. :) (1 Reply)
Discussion started by: fla22
1 Replies

10. AIX

Help finding a BOS

I'm trying to install TL 5200-08 on an AIX 5.2 box and it is failing due to several prereqs. One is devices.pci.77101223.diag 5.2.0.85, but the prereq for this file set is devices.pci.77101223.diag 5.2.0.0 and I can not locate that file set. I can locate devices.pci.77101223.diag 5.2.0.1, but... (1 Reply)
Discussion started by: zuessh
1 Replies
Login or Register to Ask a Question
BOSCONFIG(5)							AFS File Reference						      BOSCONFIG(5)

NAME
BosConfig - Defines server processes for the BOS Server to monitor DESCRIPTION
The BosConfig file lists the processes that the Basic OverSeer (BOS) Server monitors on its server machine, and thus defines which AFS server processes run on the machine. It specifies how the BOS Server reacts when a process fails, and also defines the times at which the BOS Server automatically restarts processes as part of performance maintenance. The file must reside in the /var/lib/openafs/local directory on each AFS server machine. A server process entry in the BosConfig file records the following information: o The entry type, which is one of the following: cron Designates a server process that runs periodically instead of continuously. The BOS Server starts a cron process only at specified times, not whenever it fails. All standard AFS process entries except "fs" are simple (there are no standard cron processes). fs Designates a group of interdependent server processes. If one of the processes fails, the BOS Server must coordinate its restart with the restart of the other processes in the group, possibly by stopping them first. There is only one standard entry of this type, for which the conventional name is "fs". It combines three server processes: the File Server (fileserver process), the Volume Server (volserver process), and the Salvager (salvager process). These processes all operate on the same data--the AFS data stored on an AFS server machine's /vicep partitions and mounted in the AFS filespace--but in different ways. Grouping the processes prevents them from attempting to access the same data simultaneously, which can cause corruption. During normal operation, the Salvager process is not active. If the File Server process fails, however, the BOS Server stops the Volume Server process and runs the Salvager process to correct any corruption that resulted from the failure. (The administrator can also issue the bos salvage command to invoke the Salvager process.) If the Volume Server fails, the BOS Server can restart it without stopping the File Server or running the Salvager. simple Designates a server process that runs independently of any other on the server machine. If a simple process fails, the BOS Server does not have to coordinate its restart with any other process. o The entry name. The conventional name for an entry in the BosConfig file and the associated process matches the binary filename. When issuing any bos command that takes the -instance argument, identify each process by the name used in the BosConfig file. For a list of the names, see the bos create reference page. o The process's status flag, which determines whether the BOS Server attempts to start the process in two cases: each time the BOS Server itself restarts, and when the process fails. The BosConfig file currently uses a binary notation to indicate whether the BOS Server attempts to restart the process as necessary or does not monitor it at all. For the sake of clarity, the AFS documentation refers to the flags as "Run" and "NotRun" instead. Only a system administrator, not the BOS Server, can change the flag. o One or more command parameters which the BOS Server invokes to start the process or processes associated with the entry: o A "cron" entry has two command parameters, the first the complete pathname to the program, and the second the time at which the BOS Server invokes the program. o The "fs" entry has three command parameters, each the complete pathname to the fileserver, volserver, and salvager programs, in that order. o A "simple" entry has only one command parameter, the complete pathname to the program. In addition to server process entries, the BosConfig file specifies the times at which the BOS Server performs two types of automatic process restarts: o The general restart time at which the BOS Server restarts itself and then each process for which the entry in the BosConfig file has status flag "Run". The default setting is Sunday at 4:00 a.m. o The binary restart time at which the BOS Server restarts any server process for which the time stamp on the binary file in the /usr/lib/openafs directory is later than the last restart time for the process. The default is 5:00 a.m. Although the BosConfig file is in ASCII format, it is normally best not to use a text editor to alter it. The parser is very picky, and incorrectly formatted entries can prevent server startup in ways that are difficult to diagnose. Instead, use the appropriate commands from the bos command suite: o The bos create command to create an entry in the file and start the associated process. o The bos delete command to remove an entry from the file after the bos stop command is used to stop the associated process. o The bos getrestart command to display the times at which the BOS Server performs automatic restarts. o The bos setrestart command to set the times at which the BOS Server performs automatic process restarts. o The bos start command to change an entry's status flag to "Run" and start the associated process. o The bos status command to display all processes listed in the file. o The bos stop command to change an entry's status flag to "NotRun" and stop the associated process. There are also bos commands that start and stop processes without changing entries in the BosConfig file. The BOS Server reads the BosConfig file only when it starts, transferring the information into its memory. Thus a process's status as represented in the BOS Server's memory can diverge from its status in the BosConfig file. The following commands change a process's status in the BOS Server's memory only: o The bos restart command restarts a specified set of processes, all processes, or all processes other than the BOS Server. o The bos shutdown command stops a process. o The bos startup command starts a process. When the BOS Server shuts down, it rewrites BosConfig, discarding any changes made manually to that file. To change the configuration for the next BOS Server restart, instead write a new file to BosConfig.new. If BosConfig.new exists when the BOS Server starts, it will rename that file to BosConfig before reading its configuration. SEE ALSO
bos_create(8), bos_delete(8), bos_getrestart(8), bos_restart(8), bos_setrestart(8), bos_shutdown(8), bos_start(8), bos_startup(8), bos_status(8), bos_stop(8), bos_salvage(8), fileserver(8), salvager(8), volserver(8) COPYRIGHT
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved. This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell. OpenAFS 2012-03-26 BOSCONFIG(5)