fhg
Volume 9, Number 34 -- October 28, 2009

How Much Temporary Storage Am I Using?

Published: October 28, 2009

Hey, Joe:

My i5/OS partition disk storage is filling up and it hit 85 percent utilization today. How do I tell how much temporary storage space my system is using? If there's a lot of temporary storage, what can I do about it? I heard that if you IPL a partition, you can reduce disk usage.

--Mick


While an IPL can reclaim temporary storage space, it's wise to first check out how much temporary space is being used on the system, just to see if it's worth your while to IPL. Since iSeries, System i, and Power i machines generally run for months at a time, you probably want to ensure that you've done everything possible before you IPL the system. Here's a quick drill for examining temporary storage and for possibly doing something about it.

First, use this IBM-provided equation for calculating temporary storage utilization in a partition.

Temporary storage disk utilization = 
	(Current unprotected used storage / Total System ASP storage) / 10

You can retrieve the numbers for this equation from the Work with System Status (WRKSYSSTS) command display. The trick is to only focus on the numbers in the Auxiliary Storage area, which are found in the upper right-hand section of the WRKSYSSTS screen. Here's a sample of what that area might look like on a system where temporary storage is under control.

Work with System Status

Auxiliary storage:
System ASP . . . . . . :     3169 G
% system ASP used  . . :    67.8219
Total  . . . . . . . . :     3169 G
Current unprotect used :    21531 M
Maximum unprotect  . . :    63069 M

On this system, the System ASP contains 3169 G of storage (about 3 Terabytes), which will be used for the Total System ASP Storage Number in your equation. It's important to note that even though we are talking about temporary storage for system jobs, temporary storage is still written to system Auxiliary Storage Pool (ASP) disk so we use the System ASP value in the calculation. The Current Unprotected Used number (21531 M) can also be plugged directly into the equation from this screen.

Using these numbers, here's what the equation to calculate the Temporary Disk Storage Utilization value for this system looks like.

Temporary storage disk utilization percentage = 
	(21531 / 3169) / 10 = .679 percent of disk

Since the Current Unprotected Used Storage number is listed in Megabytes and the Total System ASP Storage number is listed in Gigabytes, it's necessary to divide the resulting percentage by 10 to get the actual percentage used. For this example, temporary storage utilization is under 1 percent so there isn't an issue with reclaiming storage. But let's look at another example where temporary storage may be a real problem. We'll start with these WRKSYSSTS statistics.

Work with System Status

Auxiliary storage:
  System ASP . . . . . . :    705.6 G
  % system ASP used  . . :    85.5388
  Total  . . . . . . . . :    705.6 G
  Current unprotect used :    90000 M
  Maximum unprotect  . . :   110771 M

Which gives us the following equation for temporary storage disk utilization.

Temporary storage disk utilization percentage = 
	(90000 / 705.6) / 10 = 12.75 percent of disk

IBM states that it's normal for temporary storage to consume 5 percent or less of total disk storage, so if your temporary storage utilization is under that number, don't worry. However, if your system was gobbling up 12.75 percent usage of disk space like this one, you might want to do something about the situation. To determine which jobs are consuming temporary disk space, run the following Work with System Activity (WRKSYSACT) command to list your partition's active jobs by the amount of net storage being used.

WRKSYSACT SEQ(*STGNET)

This displays your partition's active jobs according to how much net storage (allocated storage less deallocated storage) each job is currently using. From the initial Work with System Activity screen, press the F11 key (switch view) three times to get to the storage view screen, which looks like this.

                          Work with System Activity                   SYSTEM
                                                            10/20/09  21:34:03
Automatic refresh in seconds  . . . . . . . . . . . . . . . . . . .     5    
Elapsed time . . . . . . :   00:00:02    Average CPU util . . . . :      15.4
Number of CPUs . . . . . . :       3     Maximum CPU util . . . . . :    19.7
Overall DB CPU util  . . . :     3.7     Minimum CPU util . . . . . :     9.4
                                         Current processing capacity:     2.50
Authorization Type  . :
Type options, press Enter.
  1=Monitor job   5=Work with job   6=Wait detail

     Job or                                     --------Storage--------  Total
Opt  Task         User        Number  Thread     Allocated  Deallocated   Wait
    RBREPORT1    QSYSOPR     014677  0000001F       34816            0  999.9
    QDFTJOBD     JOEH        014763  00000017        8696          705   28.0
    DAILYEOD     BUBBAB      014663  00000040        2577          971     .0
    WEBSITE1     QTMHHTTP    998479  00000005       13385        13027     .0
    WEBSITE2     QTMHHTTP    998463  00000004       50874        50618  999.9
    PORT50410    MIMIXOWN    984503  00000002         260           65     .0

Although it's not obvious, this screen displays all the active system jobs by net allocated storage. The screen doesn't show net allocated storage for each job, but you can easily calculate it by subtracting the Storage→Deallocated number from the Storage→Allocated number for each job. Understand however that WRKSYSACT only shows data for jobs that have had activity since the last data collection. There may be other system jobs taking up temporary storage that weren't active when you ran WRKSYSACT. Those jobs won't show up in the display until they show some activity.

If you notice any jobs that are taking up too much net storage, end and restart those jobs to see if that affects your temporary and total disk storage utilization numbers. If that doesn't help, you can take other measures, including IPLing the system. To help troubleshoot problems with allocating excessive temporary storage on your system, IBM offers a few other ideas in Technical Software Document 22152301, Temporary Space Growth Problem Debug.

HTH

--Joe




                     Post this story to del.icio.us
               Post this story to Digg
    Post this story to Slashdot


Sponsored By
WORKSRIGHT SOFTWARE

Do you need area code information?
Do you need ZIP Code information?
Do you need ZIP+4 information?
Do you need city name information?
Do you need county information?
Do you need a nearest dealer locator system?

We can HELP! We have affordable AS/400 software and data to do all of the above. Whether you need a simple city name retrieval system or a sophisticated CASS postal coding system, we have it for you!

The ZIP/CITY system is based on 5-digit ZIP Codes. You can retrieve city names, state names, county names, area codes, time zones, latitude, longitude, and more just by knowing the ZIP Code. We supply information on all the latest area code changes. A nearest dealer locator function is also included. ZIP/CITY includes software, data, monthly updates, and unlimited support. The cost is $495 per year.

PER/ZIP4 is a sophisticated CASS certified postal coding system for assigning ZIP Codes, ZIP+4, carrier route, and delivery point codes. PER/ZIP4 also provides county names and FIPS codes. PER/ZIP4 can be used interactively, in batch, and with callable programs. PER/ZIP4 includes software, data, monthly updates, and unlimited support. The cost is $3,900 for the first year, and $1,950 for renewal.

Just call us and we'll arrange for 30 days FREE use of either
ZIP/CITY or PER/ZIP4.

WorksRight Software, Inc.
Phone: 601-856-8337
Fax: 601-856-9432
E-mail: software@worksright.com
Web site: www.worksright.com


Senior Technical Editor: Ted Holt
Technical Editor: Joe Hertvik
Contributing Technical Editors: Erwin Earley, Brian Kelly, Michael Sansoterra
Publisher and Advertising Director: Jenny Thomas
Advertising Sales Representative: Kim Reed
Contact the Editors: To contact anyone on the IT Jungle Team
Go to our contacts page and send us a message.

Sponsored Links

Manta Technologies:  Your complete source for IBM i training
Vision Solutions:  Free software for measuring overall i5/OS system health
East Coast Computer:  Citrix XenDesktop delivers desktops as a service to users anywhere


 

IT Jungle Store Top Book Picks

Easy Steps to Internet Programming for AS/400, iSeries, and System i: List Price, $49.95
The iSeries Express Web Implementer's Guide: List Price, $49.95
The System i RPG & RPG IV Tutorial and Lab Exercises: List Price, $59.95
The System i Pocket RPG & RPG IV Guide: List Price, $69.95
The iSeries Pocket Database Guide: List Price, $59.00
The iSeries Pocket SQL Guide: List Price, $59.00
The iSeries Pocket Query Guide: List Price, $49.00
The iSeries Pocket WebFacing Primer: List Price, $39.00
Migrating to WebSphere Express for iSeries: List Price, $49.00
Getting Started With WebSphere Development Studio Client for iSeries: List Price, $89.00
Getting Started with WebSphere Express for iSeries: List Price, $49.00
Can the AS/400 Survive IBM?: List Price, $49.00
Chip Wars: List Price, $29.95


 
The Four Hundred
IBM Rolls Up an i 6.1.1 Dot Release

The Curtain Rises a Bit on the Next i OS, Due in 2010

IBM Taps New Server GM in Wake of Scandal

As I See It: The Salary Reduction Plan

Various Power Systems I/O and Storage Enhancements

Four Hundred Stuff
Artech Drives Productivity with 'Evolution' Update to GeneXus IDE

Zend Server 5.0 to Run on i OS

IBM Updates Host Access Client Emulator Packages

IBM Augments PowerHA with Replication Solution

Quantum Launches Midrange Data De-Duplication Appliances

Four Hundred Monitor
Four Hundred Monitor's
Full iSeries Events Calendar

System i PTF Guide
October 24, 2009: Volume 11, Number 43

October 17, 2009: Volume 11, Number 42

October 10, 2009: Volume 11, Number 41

October 3, 2009: Volume 11, Number 40

September 26, 2009: Volume 11, Number 39

September 19, 2009: Volume 11, Number 38

September 12, 2009: Volume 11, Number 37

TPM at The Register
Los Alamos super reports for nuke duty

Shuttleworth stretches Ubuntu from netbooks to heavens

Tilera pushes to 100 cores with mesh processor

VMware boasts a half mil vSphere downloads

Citrix backtracks on XenDesktop 4 pricing

IBM beefs blade server networks

Mellanox grows on fast network uptake

Big Blue kills off CSM clustering

Citrix ekes out revenue, profit growth

IBM revs server control freak tool

Sun slashes (another) 3,000 jobs

Fedora 12 beta code is go

THIS ISSUE SPONSORED BY:

Help/Systems
Vision Solutions
WorksRight Software


Printer Friendly Version


TABLE OF CONTENTS
Getting Started with RDi's Application Diagram, Part 2: Program Structure Diagram

Distinguish between Record Types without Indicators

How Much Temporary Storage Am I Using?

Four Hundred Guru

BACK ISSUES




 
Subscription Information:
You can unsubscribe, change your email address, or sign up for any of IT Jungle's free e-newsletters through our Web site at http://www.itjungle.com/sub/subscribe.html.

Copyright © 1996-2009 Guild Companies, Inc. All Rights Reserved.
Guild Companies, Inc., 50 Park Terrace East, Suite 8F, New York, NY 10034

Privacy Statement