Sponsored Content
Operating Systems Linux Red Hat Command to find the local harddisks of a server ? Including their size Post 302372799 by fpmurphy on Wednesday 18th of November 2009 08:31:04 PM
Old 11-18-2009
It tells you that you have a SCSI disk with three partitions/slices. Two are Linux partitions (type 83) and one (type 82) is reserved for use by Linux as a swap device. It also tells you the start and end blocks for each partition and the total number of blocks in each partition.
 

10 More Discussions You Might Find Interesting

1. Solaris

command to find out total size of a specific file size (spread over the server)

hi all, in my server there are some specific application files which are spread through out the server... these are spread in folders..sub-folders..chid folders... please help me, how can i find the total size of these specific files in the server... (3 Replies)
Discussion started by: abhinov
3 Replies

2. Shell Programming and Scripting

To find the RAM size for an Linux server.

Hi Gurus, Can someone let me know how to find the RAM size,ROM size and Number of processors for a linux server. Version :Linux 2.4.9-e.57smp Also what does "e.57smp" stands for? Thanks in advance gurus..... cheers. (3 Replies)
Discussion started by: navojit dutta
3 Replies

3. Shell Programming and Scripting

Find match in two diff file - local srv and remote server

Perl Guru.... I need to compare two diff file (file1.abc will locate in current server and file2.abc will locate in remote server), basically the script will look for match in both file and only will send out email if there is no match and also give me list of unmatch and dups as well. So... (0 Replies)
Discussion started by: amir07
0 Replies

4. Shell Programming and Scripting

Validating the size of file transferred from ftp server to the local system

Validating the size of file transferred from ftp server to the local system. File type: Text file/Flat file Source System: Windows / Unix Systems Target System is always: Unix Mode of Transfer : ASCII We have generic ftp shell script that transfers the files from different ftp servers. ... (2 Replies)
Discussion started by: jpundalik
2 Replies

5. IP Networking

How to find MAC of local google server

Hi, I know that ARP is used to find MAC of the destination machine. But I just failed to justify this. I tried below things: on one shell terminal I executed "arp" command in a loop so that I can find the MAC of concern machine in the output. On the another shell I fired an "ping google.com"... (4 Replies)
Discussion started by: zing_foru
4 Replies

6. Shell Programming and Scripting

Executing local script/command on remote server

I have a command that I want to run on machine B from machine A. If I run the command on machine B locally, it works fine. Here is the command: for n in `find /data1/ -name 'ini*.ext'` ; do echo cp $n "`dirname $n `/` basename $n .ext`"; done From machine A, I issue this command ... (3 Replies)
Discussion started by: dirtyd0ggy
3 Replies

7. Shell Programming and Scripting

Condition local or remote server command

Hello, Can you help me ? $7 fits to remote server. I can launch the script from local or remote server. I would like my_script.sh to choose local or remote command depending the variable $7. Is the function f1 right or wrong ? In this moment, i can't test it. Thanks in advance. I create... (3 Replies)
Discussion started by: amazigh42
3 Replies

8. Shell Programming and Scripting

Using a find command in ssh but using local variables?

I have a script like this (Yes, I know the DAY6 number isn't right - I'm just testing at this point): DAY0=`date -I` DAY1=`date -I -d "1 day ago"` DAY6=`date -I -d "2 days ago"` if then ssh root@synology1 nohup rm -rf "/volume1/Fileserver/$DAY6" fi I've tested the line to remove the... (5 Replies)
Discussion started by: Orionizer
5 Replies

9. Solaris

Ftp a directory to another server from the local server what is the command

ftp a directory to another server from the local server what is the command (2 Replies)
Discussion started by: PMoore
2 Replies

10. UNIX for Beginners Questions & Answers

Find command size greater than or equalto

How do I find the files greater than or equal to a given size using find command. find ./ -size +0k --> Lists files greater than 0K find ./ -size 0k --> Lists the file size equal to 0K. I have other conditions to check, hence using find command. Thanks in advance. (4 Replies)
Discussion started by: deepakwins
4 Replies
STATE_ANALYZER(8)					       AFS Command Reference						 STATE_ANALYZER(8)

NAME
state_analyzer - Explores and queries the fileserver state database interactively SYNOPSIS
state_analyzer [state dump file | -h] DESCRIPTION
The demand-attach file server makes host / callback information persistent. On shutdown, the state is saved to database fsstate.dat(5). On startup, the state is read, verified and restored. This allows for file server shutdowns or restarts without breaking all callbacks (an operation that could otherwise take a long time). state_analyzer interactively explores and queries the saved state database, fsstate.dat(5). This command is only supported on the demand-attach file server. It operates at an extremely low-level and hence requires detailed knowledge of the OpenAFS architecture and code. COMMANDS
state_analyzer supports the following interactive commands: h <...> -- host menu o hdr -- display the host_state_header struct o first -- display the first host o prev -- display the previous host o this -- display this host o next -- display the next host o last -- display the last host o dump -- display all hosts fe <...> -- FileEntry menu o hdr -- display the callback_state_header struct o first -- display the first FE o prev -- display the previous FE o this -- display this FE o next -- display the next FE o last -- display the last FE o dump -- display all FEs o timeout -- display the timeout queue heads o hash -- display the file entry hash buckets o find by index id -- find an fe by its array index o find by fid (vol,vnode,unique) -- find an fe by its AFSFid cb <...> -- CallBack menu o hdr -- display the callback_state_entry_header struct o first -- display the first CB o prev -- display the previous CB o this -- display this CB o next -- display the next CB o last -- display the last CB o dump -- display all CBs hexdump [offset [len]] -- hex dump raw data quit -- quit current menu exit -- exit debugger help -- help message PRIVILEGE REQUIRED
The issuer must have read access to the file server state database, fsstate.dat. Usually, this means that the issuer must be the local superuser "root" on the file server machine. SEE ALSO
fsstate.dat(5), fssync-debug(8), salvsync-debug(8) COPYRIGHT
Copyright 2010 Davor Ocelic <docelic@spinlocksolutions.com> This documentation is covered by the IBM Public License Version 1.0. This man page was written by Davor Ocelic for OpenAFS, based on documentation from Tom Keiser, Steven Jenkins and others. OpenAFS 2012-03-26 STATE_ANALYZER(8)
All times are GMT -4. The time now is 05:20 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy