limits Commands (Deprecated)
force:limits:api:display (Deprecated)
Help for force:limits:api:display
When you execute this command in a project, it provides limit information for your default scratch org.
Examples for force:limits:api:display
1sfdx force:limits:api:display1sfdx force:limits:api:display -u me@my.orgCommand Syntax
- sfdx force:limits:api:display
- [--json]
- [--loglevel LOGLEVEL]
- [-u TARGETUSERNAME]
- [--apiversion APIVERSION]
Parameters
- --json
- Optional
-
Format output as JSON.
- Type: boolean
- --loglevel LOGLEVEL
- Optional
-
The logging level for this command invocation. Logs are stored in $HOME/.sf/sf.log.
- Type: enum
- Permissible values are: trace, debug, info, warn, error, fatal, TRACE, DEBUG, INFO, WARN, ERROR, FATAL
- Default value: warn
- -u | --targetusername TARGETUSERNAME
- Optional
-
A username or alias for the target org. Overrides the default target org.
- Type: string
- --apiversion APIVERSION
- Optional
-
Override the API version used for API requests made by this command.
- Type: string
force:limits:recordcounts:display (Deprecated)
Help for force:limits:recordcounts:display
Use this command to get an approximate count of the records in standard or custom objects in your org. These record counts are the same as the counts listed in the Storage Usage page in Setup. The record counts are approximate because they're calculated asynchronously and your org's storage usage isn't updated immediately. To display all available record counts, run the command without the '--sobjecttype' parameter.
Examples for force:limits:recordcounts:display
1sfdx force:limits:recordcounts:display1sfdx force:limits:recordcounts:display -s Account,Contact,Lead,Opportunity1sfdx force:limits:recordcounts:display -s Account,Contact -u me@my.orgCommand Syntax
- sfdx force:limits:recordcounts:display
- [--json]
- [--loglevel LOGLEVEL]
- [-u TARGETUSERNAME]
- [--apiversion APIVERSION]
- [-s SOBJECTTYPE]
Parameters
- --json
- Optional
-
Format output as JSON.
- Type: boolean
- --loglevel LOGLEVEL
- Optional
-
The logging level for this command invocation. Logs are stored in $HOME/.sf/sf.log.
- Type: enum
- Permissible values are: trace, debug, info, warn, error, fatal, TRACE, DEBUG, INFO, WARN, ERROR, FATAL
- Default value: warn
- -u | --targetusername TARGETUSERNAME
- Optional
-
A username or alias for the target org. Overrides the default target org.
- Type: string
- --apiversion APIVERSION
- Optional
-
Override the API version used for API requests made by this command.
- Type: string
- -s | --sobjecttype SOBJECTTYPE
- Optional
-
Comma-separated list of API names of standard or custom objects for which to display record counts.
- Type: array