• The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
Menu
  • The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
  • How Much Temporary Storage Am I Using?

    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.

    CODE1

    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.

    CODE2

    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.

    CODE3

    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.

    CODE4

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

    CODE5

    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.

    CODE6

    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.

    CODE7

    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

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Tags:

    Sponsored by
    Manta Technologies

    The Leader in IBM i Education!
    Need training on anything i?
    Manta is all you need.

    Spring Sale! Save 20% off any Manta Combination Package, including the complete IBM i Training Library. Now through April 30.

    130 courses and competency exams on:
    · IBM i operations
    · System Management and Security
    · IBM i Programming Tools
    · Programming in RPG, COBOL, CL, Java
    · Web Development
    · SQL, DB2, Query

    Product features:
    · Runs in every popular browser
    · Available 24/7/365
    · Free Student Reference Guides
    · Free Student Administration
    · Concurrent User License
    · Built-In IBM i Simulator

    You can download our 200-page catalog and take sample sessions at MantaTech.com.

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    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

    10ZiG Doubles Down on Dual-Monitor Setups A Chat with Ross Mauri, Power Systems GM

    Leave a Reply Cancel reply

Volume 9, Number 34 -- October 28, 2009
THIS ISSUE SPONSORED BY:

Help/Systems
Vision Solutions
WorksRight Software

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?

Content archive

  • The Four Hundred
  • Four Hundred Stuff
  • Four Hundred Guru

Recent Posts

  • IBM i Has a Future ‘If Kept Up To Date,’ IDC Says
  • When You Need Us, We Are Ready To Do Grunt Work
  • Generative AI: Coming to an ERP Near You
  • Four Hundred Monitor, March 22
  • IBM i PTF Guide, Volume 25, Number 12
  • Unattended IBM i Operations Continue Upward Climb
  • VS Code Is The Full Stack IDE For IBM i
  • Domino Runs on IBM i 7.5, But HCL Still Working on Power10
  • Four Hundred Monitor, March 6
  • IBM i PTF Guide, Volume 25, Number 11

Subscribe

To get news from IT Jungle sent to your inbox every week, subscribe to our newsletter.

Pages

  • About Us
  • Contact
  • Contributors
  • Four Hundred Monitor
  • IBM i PTF Guide
  • Media Kit
  • Subscribe

Search

Copyright © 2023 IT Jungle