Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Views Bootstrap 5.5.4 — Minor update available for module views_bootstrap (5.5.4). Release: Rightup theme 1.0.3 — Minor update available for theme vartheme_bs5_rightup (1.0.3). Release: CommentOn 1.0.6 — Minor update available for module commenton (1.0.6). Release: ChatGPT Ads 1.0.3 — Minor update available for module chatgpt_ads (1.0.3). Release: Opensolr Search 5.1.3 — Minor update available for module opensolr_search (5.1.3). Release: ServiceM8 Webform Integration 1.2.1 — Minor update available for module servicem8_webform (1.2.1). Release: PostfixAdmin 1.0.0 — Initial release available for module postfix_admin (1.0.0)! Release: ip_analyser 1.0.3 — Minor update available for module ip_analyser (1.0.3). Module Revived: Swagger-PHP OpenAPI 3 documentation generator 1.0.0 — Module swagger_php updated after 10 months of inactivity (1.0.0). Security Coverage: Microsoft Azure AI — Module ai_provider_azure now has official Drupal security advisory coverage.

This module provides drush commands and user interface to see the count of nodes, content types, users & roles existing in the site, also information of currently logged-in users.

Usage

Drupal 7

Drush commands

nodetypecount command will return the number of Content Types present in the site, you can use command in following ways.
drush nodetypecount --help
drush nodetypecount

nodecount command will return the number of Nodes present in the site, you can use command in following ways.
drush nodecount --help
drush nodecount
drush nodecount < content-type-names >
drush nodecount page article

rolecount command will return the number of Roles present in the site, you can use command in following ways.
drush rolecount --help
drush rolecount

usercount command will return the number of Users existing in the site, you can use command in following ways.
drush usercount --help
drush usercount
drush usercount < role-ids >
drush usercount 3 4

User Interface

  1. Navigate to Extra Site Information page /admin/reports/extra-siteinfo for the user interface representation of data.
  2. To see the data of currently logged-in users in the site, navigate to /admin/reports/extra-siteinfo/currently-loggedin-users, also you can end the session of any user by clicking "End Session" button.

Drupal 8 onwards

Changes

1. Removed the currently logged-in users feature from the module and this feature is moved to a module.
2. For viewing the usercount, you need to pass the role machine names
drush usercount administrator,authenticated

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
Aug 2023
Latest release
3 years ago
Releases (12 mo)
0
Maintenance
Dormant

Release Timeline

Releases

Version Type Core Release date
2.0.0-beta2 Pre-release Sep 11, 2023
2.0.0-beta1 Pre-release Aug 7, 2023
2.0.x-dev Dev Aug 2, 2023