Sponsored Content
Special Forums Hardware Filesystems, Disks and Memory How to check which type of storage is used in unix Post 302566447 by galanom on Thursday 20th of October 2011 11:14:19 AM
Old 10-20-2011
it says "PHP Code" in the tags
 

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to check a column contain numeric or char data type ??

I have a file called clientname_filename.csv whose contents are like col1|col2|col3|col4| 510|abc|xxx|450| 510|abc11|yyy|350 510|pqr99|zzz| 670 512|222|439|110 Here i have check the contents of column for data type. i have a constraints that col1 always contain Numeric value column 2... (12 Replies)
Discussion started by: jambesh
12 Replies

2. Shell Programming and Scripting

Check file content type

I have a shell script that takes a file and uses "syncsort" to sort contents. I want to add a condition to check whether the input file is textual or binary format. If textual, the "syncsort" will be used to sort the files contents. Otherwise, the sorting process will be skipped. Note that the... (3 Replies)
Discussion started by: synthea
3 Replies

3. Red Hat

how do we check SAN storage?

Hello, I am using LINUX OS. I want to check what is the SAN storage size. How do i check this in server? Any help is really appreciated.. (3 Replies)
Discussion started by: govindts
3 Replies

4. UNIX for Dummies Questions & Answers

Display storage type and storage size

Can anybody help me ont to get the command to check storage type and storage size in unix. Thank u in advanced!! (4 Replies)
Discussion started by: manisham
4 Replies

5. UNIX for Advanced & Expert Users

How to check which type of storage is used in unix

SunOS 5.10 Generic_142900-15 sun4v sparc SUNW,T5240 how can i check the storage type being used in unix solaris sparc system? please help me its urgnet.. thank you (1 Reply)
Discussion started by: aesgs
1 Replies

6. Solaris

How to check which type of storage is used in unix?

SunOS 5.10 Generic_142900-15 sun4v sparc SUNW,T5240 how can i check the storage type being used in unix solaris sparc system? please help me its urgnet.. thank you (22 Replies)
Discussion started by: aesgs
22 Replies

7. AIX

UNIX cmd to check for non expiry type password

Hi, Here's the version of unix that we are working on. > uname -a AIX yyyyyyyy 1 6 00F613E24C00 @:on(cluster303)/iishomea/kmani00-> i have application id: aaabbb Now i need to check whether the password for the application id set to non expiry type or not. Moreover, with that unix... (3 Replies)
Discussion started by: kmanivan82
3 Replies

8. Shell Programming and Scripting

Check if a file type exists repeatedly

Hi, I have the below script that checks if the .tar file exists in my present directory. If so, extract it and then delete it except if the .tar filename is blent.tar #!/bin/bash while ; do echo "TAR BALL EXISTS" for f in *.tar; do echo "File -> $f" tar -xvf $f rm -ir $f... (7 Replies)
Discussion started by: mohtashims
7 Replies
TOKEN_GET_ALL(3)							 1							  TOKEN_GET_ALL(3)

token_get_all - Split given source into PHP tokens

SYNOPSIS
array token_get_all (string $source) DESCRIPTION
token_get_all(3) parses the given $source string into PHP language tokens using the Zend engine's lexical scanner. For a list of parser tokens, see "List of Parser Tokens", or use token_name(3) to translate a token value into its string representation. PARAMETERS
o $source - The PHP source to parse. RETURN VALUES
An array of token identifiers. Each individual token identifier is either a single character (i.e.: ;, ., >, !, etc...), or a three ele- ment array containing the token index in element 0, the string content of the original token in element 1 and the line number in element 2. EXAMPLES
Example #1 token_get_all(3) examples <?php $tokens = token_get_all('<?php echo; ?>'); /* => array( array(T_OPEN_TAG, '<?php'), array(T_ECHO, 'echo'), ';', array(T_CLOSE_TAG, '?>') ); */ /* Note in the following example that the string is parsed as T_INLINE_HTML rather than the otherwise expected T_COMMENT (T_ML_COMMENT in PHP <5). This is because no open/close tags were used in the "code" provided. This would be equivalent to putting a comment outside of <?php ?> tags in a normal file. */ $tokens = token_get_all('/* comment */'); // => array(array(T_INLINE_HTML, '/* comment */')); ?> CHANGELOG
+--------+----------------------------------------+ |Version | | | | | | | Description | | | | +--------+----------------------------------------+ | 5.2.2 | | | | | | | Line numbers are returned in element 2 | | | | +--------+----------------------------------------+ PHP Documentation Group TOKEN_GET_ALL(3)
All times are GMT -4. The time now is 07:23 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy